Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: One possible answer to typeset vs. unset
- X-seq: zsh-workers 47699
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: One possible answer to typeset vs. unset
- Date: Sat, 28 Nov 2020 12:21:19 -0800
- Archived-at: <https://zsh.org/workers/47699>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2020-11/CAH%2Bw%3D7aaSmuhqTJchi4aBn8e%3DXK9zOypVviM3i1-3Zo-EyC%3D7g%40mail.gmail.com>
- Authentication-results: zsh.org; iprev=pass (mail-ot1-f49.google.com) smtp.remote-ip=209.85.210.49; dkim=pass header.d=brasslantern-com.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=sCYAu0R4N5t4hfwkN6oHpvGz667NqXHy5az3ALnW+s0=; b=wB5G+gIkZjQB59fMPPDatdZFyZskQstqfVRh96HhYKsSF4IaIAbVx+37XUKh63Z0Mt 7RrGafQ2q1q1ftkVyc5jadT8ojIKDsl0Ra62Kr6NKvF9Hl9KyM+muevDRqo6hTAhTFVK qp3U0fHptFEyi+xfsnN/uahQDwJ9ZTDbP/1jNOn9Gqq4RDBGIwYVPeHjkWyhI4mCF4uZ nPaZEaRkBpO05OB9GXBBrqgnnZPmCL97g7NlQNxFKxwWE8Vrqkyccf3CXKgNn6uDLy80 vrwxAU43x2nA9e8YDq51dDdAHSakJzi4chGW3qdPP6ZXxNK24AWSzn+l1yDKrGBpc1CL Q1CA==
- In-reply-to: <CAH+w=7Zh8URUiLF2n1x-ZrvKO+=JC8wf+n692sRsFTRbkJrzXw@mail.gmail.com>
- List-archive: <http://www.zsh.org/sympa/arc/zsh-workers>
- List-help: <mailto:sympa@zsh.org?subject=help>
- List-id: <zsh-workers.zsh.org>
- List-owner: <mailto:zsh-workers-request@zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-subscribe: <mailto:sympa@zsh.org?subject=subscribe%20zsh-workers>
- List-unsubscribe: <mailto:sympa@zsh.org?subject=unsubscribe%20zsh-workers>
- References: <CAH+w=7Zh8URUiLF2n1x-ZrvKO+=JC8wf+n692sRsFTRbkJrzXw@mail.gmail.com>
- Sender: zsh-workers-request@xxxxxxx
On Sat, Nov 28, 2020 at 11:49 AM Bart Schaefer
<schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> concealing the internal value rather than altering the way internal
> values are defaulted.
I should note that it's possible that this introduces memory leaks for
global-scope parameters, because it introduces a case where a struct
param with the PM_UNSET flag remains in the global parameter table.
Ordinarily that only happens to function scope parameters. I think
such leaks, if they exist at all, would be detectable only when the
shell is about to exit anyway.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author