This is the mail archive of the 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]

Re: Forcing SYSTEMROOT (opinions needed)

On Tue, May 01, 2001 at 08:34:35PM +0400, egor duda wrote:
>Tuesday, 01 May, 2001 Christopher Faylor wrote:
>>>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.
>CF> On reflection, my only vague reluctance to doing this is that I can
>CF> imagine that it might just be possible that someone would want to
>set up CF> an environment where they had absolute control over what was
>in the CF> environment.  If we arbitrarily add things then we would
>destroy this CF> scenario.
>i can't imagine why someone might want it, but readily agree that he
>just might.  i this case, i suppose, he may add "SYSTEMROOT=" string to
>environment.  cygwin sees that SYSTEMROOT is present, so doesn't add
>the default one, in the same time in started process SYSTEMROOT is
>effectively absent.  the only thing's bad here -- it's not unixish and

So we have to trade the possibility of someone wanting complete control of
his environment versus the possibility of someone not specifying SYSTEMROOT
but needing it for the program that is about to be run.

Should I flip a coin?


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