Re: Environment handling broken in /bin/sh with changes to {get,set,put}env()

From: Andrey Chernov <ache_at_nagual.pp.ru>
Date: Mon, 9 Jul 2007 08:13:37 +0400
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/
Received on Mon Jul 09 2007 - 02:13:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:14 UTC