zsh oddities with recent -current
Daniel O'Connor
doconnor at gsoft.com.au
Wed Jul 25 10:46:51 UTC 2007
On Wed, 25 Jul 2007, Andrey Chernov wrote:
> On Wed, Jul 25, 2007 at 12:47:56PM +0400, Andrey Chernov wrote:
> > On Wed, Jul 25, 2007 at 05:33:05PM +0930, Daniel O'Connor wrote:
> > > I updated my -current box (laptop) on the 18th and I have 2
> > > strange issues with zsh.
> > >
> > > 1) I can't unset environmental variables set before the shell
> > > started, eg..
> >
> > zsh uses system's putenv() but home-rolled delete from environment
> > (instead of unsetenv()). It clearly violates POSIX since it forbids
> > to mix putenv/setenv/unsetenv with direct environ manipulations:
...
> > Quick fix will be just to disable HAVE_PUTENV config option. It
> > gains nothing in the code but makes troubles.
That works around it nicely, thanks.
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070725/08c2ca08/attachment.pgp
More information about the freebsd-current
mailing list