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

Re: Failure of "typeset" and exit status



On May 13,  5:38pm, Peter Stephenson wrote:
} Subject: Re: Failure of "typeset" and exit status
}
} On Wed, 13 May 2015 08:48:27 -0700
} Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
} > It appears that the real problem is that UID is typed as an integer,
} > so "local UID" implicitly assigns zero.
} 
} How about this?

Except that you misspelt "initialise" in the comment, I think this is
just right.

} What about non-integer restricted variables?  They seem to be less
} problematic.

The only one that comes to mind is USERNAME, which also attempts to change
UID, but it's already sanitized because it checks for a valid password
file entry before doing anything.

The problems with localizing PATH-flavored variables are already known.



Messages sorted by: Reverse Date, Date, Thread, Author