[Patch]: env -i

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Sun May 9 14:37:00 GMT 2004


On Sat, May 08, 2004 at 02:45:26PM -0400, Pierre A. Humblet wrote:
>Before:
>~: env -i /bin/env
>HOMEDRIVE=C:
>HOMEPATH=\Documents and Settings\Owner
>LOGONSERVER=\\COMPAQ
>SYSTEMDRIVE=C:
>SYSTEMROOT=C:\WINDOWS
>USERDOMAIN=COMPAQ
>USERNAME=Owner
>USERPROFILE=C:\Documents and Settings\Owner
>
>After:
>~: env -i /bin/env
>~: 
>(but the variables are present with telnet, ssh, etc..)
>
>Pierre
>
>2004-05-08  Pierre Humblet <pierre.humblet@ieee.org>
>
>	* environ.cc (build_env): Only try to construct required-but-missing
>	variables while issetuid.

Ok with me.  Wasn't this your addition to begin with?

cgf



More information about the Cygwin-patches mailing list