Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: One possible answer to typeset vs. unset



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