From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@zsh.org
Subject: Re: Failure of "typeset" and exit status
Date: Wed, 13 May 2015 10:50:50 -0700 [thread overview]
Message-ID: <150513105050.ZM28218@torch.brasslantern.com> (raw)
In-Reply-To: <20150513173839.06cc8988@pwslap01u.europe.root.pri>
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@brasslantern.com> 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.
prev parent reply other threads:[~2015-05-13 17:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-12 2:43 Bart Schaefer
2015-05-12 8:42 ` Peter Stephenson
2015-05-12 9:12 ` Peter Stephenson
2015-05-13 4:59 ` Bart Schaefer
2015-05-13 8:39 ` Peter Stephenson
2015-05-13 15:48 ` Bart Schaefer
2015-05-13 16:38 ` Peter Stephenson
2015-05-13 17:50 ` Bart Schaefer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=150513105050.ZM28218@torch.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).