Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jul 2007 08:13:37 +0400
From:      Andrey Chernov <ache@nagual.pp.ru>
To:        "Sean C. Farley" <scf@FreeBSD.org>
Cc:        freebsd-current <freebsd-current@FreeBSD.org>, Robert Watson <rwatson@FreeBSD.org>, Michal Mertl <mime@traveller.cz>
Subject:   Re: Environment handling broken in /bin/sh with changes to {get,set,put}env()
Message-ID:  <20070709041337.GA97347@nagual.pp.ru>
In-Reply-To: <20070708203635.A14065@thor.farley.org>
References:  <20070707130859.GA96605@nagual.pp.ru> <20070707131359.GB96605@nagual.pp.ru> <20070707133102.C14065@thor.farley.org> <20070707191835.GA4368@nagual.pp.ru> <20070707205410.B14065@thor.farley.org> <20070708020940.GA80166@nagual.pp.ru> <20070708171727.GA90490@nagual.pp.ru> <20070708125905.F14065@thor.farley.org> <20070708183823.GA91359@nagual.pp.ru> <20070708203635.A14065@thor.farley.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 08, 2007 at 08:40:11PM -0500, Sean C. Farley wrote:
> 
> Your interpretation of the specification is correct.  My latest patch
> should apply.  I changed getenv() to never change environ.  If it
> detects that environ was replaced, it falls back to returning the value
> from there.  Only setenv(), unsetenv() and putenv() will alter environ.
> How does it look to you?

Ok now. No suggestions left.

-- 
http://ache.pp.ru/



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