Environment handling broken in /bin/sh with changes to
{get,set,put}env()
Andrey Chernov
ache at nagual.pp.ru
Wed Jul 4 17:50:35 UTC 2007
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/
More information about the freebsd-current
mailing list