This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch]: env -i


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]