delorie.com/archives/browse.cgi | search |
Hi! Tuesday, 01 May, 2001 Christopher Faylor cgf AT redhat DOT com wrote: >>CF> Should we add SystemRoot by default regardless of the passed in CF> >>environment? That's certainly doable by modifying the winenv() CF> >>function. >> >>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 non-intuitive. Egor. mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |