Christopher Faylor
Tue May 1 09:20:00 GMT 2001

On Tue, May 01, 2001 at 08:15:33PM +0400, egor duda wrote:
>Tuesday, 01 May, 2001 Christopher Faylor wrote:
>>>it's certainly set by default.  the problem is that spawnlpe (and
>>>execle, for that matter), create process with new, constructed
>>>environment, and if programmer won't include SystemRoot in this
>>>constructed environment, new process won't have it.  this may break
>>>some standard windows components, including winsock.
>CF> Should we add SystemRoot by default regardless of the passed in CF>
>environment?  That's certainly doable by modifying the winenv() CF>
>probably yes.  i think %SystemDrive% is also good candidate to be added
>regardless.  looks like it's also used in couple of system dlls.

On reflection, my only vague reluctance to doing this is that I can
imagine that it might just be possible that someone would want to set up
an environment where they had absolute control over what was in the
environment.  If we arbitrarily add things then we would destroy this


More information about the Cygwin-apps mailing list