delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/07/13:06:25

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 7 Oct 2004 19:07:23 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Add requirement for SYSTEMROOT to FAQ?
Message-ID: <20041007170723.GS6702@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20041007015310 DOT GA5938 AT trixie DOT casa DOT cgf DOT cx> <20041007082053 DOT GB21753 AT cygbert DOT vinschen DOT de> <20041007145234 DOT GG7398 AT trixie DOT casa DOT cgf DOT cx>
Mime-Version: 1.0
In-Reply-To: <20041007145234.GG7398@trixie.casa.cgf.cx>
User-Agent: Mutt/1.4.2i

On Oct  7 10:52, Christopher Faylor wrote:
> On Thu, Oct 07, 2004 at 10:20:53AM +0200, Corinna Vinschen wrote:
> >On Oct  6 21:53, Christopher Faylor wrote:
> >> Or, even better yet, Corinna could we force SYSTEMROOT to be used
> >> somehow but masked if someone removes it from the environment?
> >
> >Hmm, usually applications which suffer from a missing SYSTEMROOT are
> >spawned by a parent process which has explicitely created a new
> >environment block for the child and then calls execvp.  So the new
> >child is already missing SYSTEMROOT on process startup.  What about
> >always adding SYSTEMROOT to the windows env created in build_env,
> >if it's missing?
> 
> That's what I was thinking.  And then lying about its existence if
> someone queries the environment via getenv and SYSTEMROOT is "not
> supposed to be there".
> 
> What an amazingly lame requirement...

Why is that a requirement anyway?  Why is it necessary to hide
$SYSTEMROOT?  I don't see a reason for that?

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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