Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jul 2007 21:50:31 +0400
From:      Andrey Chernov <ache@nagual.pp.ru>
To:        Robert Watson <rwatson@FreeBSD.org>, "Sean C. Farley" <scf@FreeBSD.org>, freebsd-current <freebsd-current@FreeBSD.org>, Michal Mertl <mime@traveller.cz>
Subject:   Re: Environment handling broken in /bin/sh with changes to {get,set,put}env()
Message-ID:  <20070704175031.GA33814@nagual.pp.ru>
In-Reply-To: <20070704165336.GA33050@nagual.pp.ru>
References:  <1183557221.1799.16.camel@genius.i.cz> <20070704143642.GA31254@nagual.pp.ru> <20070704150312.GB31683@nagual.pp.ru> <20070704101026.O77978@thor.farley.org> <20070704173905.T67251@fledge.watson.org> <20070704165336.GA33050@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 04, 2007 at 08:53:37PM +0400, Andrey Chernov wrote:
> No surprise than that old BSD-specific code is full of bugs and not 
> portable.

Even modern BSD-growned soft do the right thing. Consider tcsh or openssh, 
since they are portable enough they don't use dirty env tricks like 
untouched soft from 1970s.

We can safely assume that any port from ports collection compiles either 
on Linux or Solaris, so must do it properly.

We must not keep error made once by BSD developers (improper emulation of 
SysV putenv()) forever.

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



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