Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jul 2007 20:16:10 +0930
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        Andrey Chernov <ache@nagual.pp.ru>
Cc:        freebsd-current@freebsd.org, sergei@freebsd.org, scf@freebsd.org
Subject:   Re: zsh oddities with recent -current
Message-ID:  <200707252016.20807.doconnor@gsoft.com.au>
In-Reply-To: <20070725090203.GA87414@nagual.pp.ru>
References:  <200707251733.12658.doconnor@gsoft.com.au> <20070725084755.GA75871@nagual.pp.ru> <20070725090203.GA87414@nagual.pp.ru>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQBGpyn85ZPcIHs/zowRAlAcAJ9NcaCVB1Diud5C3IDBg0KOxtUGsQCaAk9k
bv4Y0Yz5iiAKjMQg/EuVGyo=
=BiKX
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707252016.20807.doconnor>