This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: [Patch]: env -i
- From: Christopher Faylor <cgf-no-personal-reply-please at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Sat, 8 May 2004 20:38:58 -0400
- Subject: Re: [Patch]: env -i
- References: <3.0.5.32.20040508144526.0080bdb0@incoming.verizon.net>
- Reply-to: cygwin-patches at cygwin dot com
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