www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/05/01/23:20:35

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Date: Tue, 1 May 2001 23:21:18 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: Christopher Faylor <cygwin-apps AT cygwin DOT com>
Subject: Re: Forcing SYSTEMROOT (opinions needed)
Message-ID: <20010501232118.A26438@redhat.com>
Reply-To: cygwin-apps AT cygwin DOT com
Mail-Followup-To: Christopher Faylor <cygwin-apps AT cygwin DOT com>
References: <2415739582 DOT 20010430214824 AT logos-m DOT ru> <20010430215921 DOT M24200 AT cygbert DOT vinschen DOT de> <12786583109 DOT 20010501172908 AT logos-m DOT ru> <3AEED4C8 DOT 5E7B8D7 AT reversion DOT ca> <3AEED8E0 DOT D7FD6731 AT yahoo DOT com> <11594817860 DOT 20010501194623 AT logos-m DOT ru> <20010501115731 DOT B17671 AT redhat DOT com> <15596567807 DOT 20010501201533 AT logos-m DOT ru> <20010501122126 DOT A18213 AT redhat DOT com> <6297709518 DOT 20010501203435 AT logos-m DOT ru>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <6297709518.20010501203435@logos-m.ru>; from deo@logos-m.ru on Tue, May 01, 2001 at 08:34:35PM +0400

On Tue, May 01, 2001 at 08:34:35PM +0400, egor duda wrote:
>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.

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?

cgf

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019