zsh-workers
 help / color / mirror / code / Atom feed
From: "Sean C. Farley" <scf@FreeBSD.org>
To: Peter Stephenson <pws@csr.com>
Cc: "Sean C. Farley" <scf@FreeBSD.org>, zsh-workers@sunsite.dk
Subject: Re: putenv()/environ bug
Date: Tue, 31 Jul 2007 13:09:42 -0500 (CDT)	[thread overview]
Message-ID: <20070731130426.C2469@thor.farley.org> (raw)
In-Reply-To: <20070731100005.36b8ec20@news01.csr.com>

On Tue, 31 Jul 2007, Peter Stephenson wrote:

> On Mon, 30 Jul 2007 17:44:12 -0500 (CDT)
> "Sean C. Farley" <scf@FreeBSD.org> 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@FreeBSD.org


  reply	other threads:[~2007-07-31 18:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-25 15:09 Sean C. Farley
2007-07-25 20:53 ` Peter Stephenson
2007-07-26  0:14   ` Sean C. Farley
2007-07-28 18:46     ` Andrey Borzenkov
2007-07-29 19:08       ` Sean C. Farley
2007-07-30 20:39         ` Peter Stephenson
2007-07-30 20:52           ` Peter Stephenson
2007-07-30 22:44             ` Sean C. Farley
2007-07-31  9:00               ` Peter Stephenson
2007-07-31 18:09                 ` Sean C. Farley [this message]
2007-07-30 22:39           ` Sean C. Farley

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=20070731130426.C2469@thor.farley.org \
    --to=scf@freebsd.org \
    --cc=pws@csr.com \
    --cc=zsh-workers@sunsite.dk \
    /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).