Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: putenv()/environ bug
- X-seq: zsh-workers 23735
- From: "Sean C. Farley" <scf@xxxxxxxxxxx>
- To: Peter Stephenson <pws@xxxxxxx>
- Subject: Re: putenv()/environ bug
- Date: Tue, 31 Jul 2007 13:09:42 -0500 (CDT)
- Cc: "Sean C. Farley" <scf@xxxxxxxxxxx>, zsh-workers@xxxxxxxxxx
- In-reply-to: <20070731100005.36b8ec20@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20070725093254.T20275@xxxxxxxxxxxxxxx> <20070725215321.00e3b110.p.w.stephenson@xxxxxxxxxxxx> <20070725184302.S23862@xxxxxxxxxxxxxxx> <200707282246.16663.arvidjaar@xxxxxxxxxx> <20070729140248.D2588@xxxxxxxxxxxxxxx> <20070730213934.aefff281.p.w.stephenson@xxxxxxxxxxxx> <20070730215232.ff040a3f.p.w.stephenson@xxxxxxxxxxxx> <20070730173959.B5687@xxxxxxxxxxxxxxx> <20070731100005.36b8ec20@xxxxxxxxxxxxxx>
On Tue, 31 Jul 2007, Peter Stephenson wrote:
On Mon, 30 Jul 2007 17:44:12 -0500 (CDT)
"Sean C. Farley" <scf@xxxxxxxxxxx> wrote:
The issue only showed up if zsh was executed again.
*snip test case*
That's useful, I've added it. I've also made the code a bit more
rational about always using setenv() and unsetenv() in pairs (this
shouldn't change the effect except with a wonky library).
*snip patch*
This new patch works too. Thank you.
Note to FreeBSD 7-CURRENT users: I will submit a FreeBSD PR, so it will
be patched in the port.
Sean
--
scf@xxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author