www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/05/03/05:28:19

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: Thu, 3 May 2001 11:19:26 +0200
From: Corinna Vinschen <cygwin-apps AT cygwin DOT com>
To: cygwin-apps AT cygwin DOT com
Subject: Re: Forcing SYSTEMROOT (opinions needed)
Message-ID: <20010503111926.Y24200@cygbert.vinschen.de>
Mail-Followup-To: cygwin-apps AT cygwin DOT com
References: <E94FF01DFF6CD31186F4080009DC361501F8C39D AT nttwr2 DOT tower DOT bldgs DOT butlermfg DOT org> <20010502222849 DOT A1238 AT redhat DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <20010502222849.A1238@redhat.com>; from cgf@redhat.com on Wed, May 02, 2001 at 10:28:50PM -0400

On Wed, May 02, 2001 at 10:28:50PM -0400, Christopher Faylor wrote:
> On Wed, May 02, 2001 at 06:55:19PM -0500, Parker, Ron wrote:
> >>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?
> >
> >Since the Winsock dll is dynamically loaded via LoadLibrary, would it
> >be possible to fill out SYSTEMROOT just prior to the load?
> 
> Hmm.  If we could be guaranteed that the program being loaded was a
> cygwin program we could.
> 
> Or, maybe we don't care...  This is a creative approach to this problem.
> I like it.

What about adding a CYGWIN env setting "[no]pamper" with default
setting "pamper"? We could add a function to Cygwin which is only
called when "pamper" is set. That function could be filled with
functionality which we _think_ are comfortable for users which
simply want to have a functioning Cygwin under all circumstances
and don't give a damn for purism.

The first entry into this function could be to add always
"SYSTEMROOT" and "SYSTEMDRIVE" to the environment.

I'm pretty sure we would get lots of further entries over the time.

Corinna

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

- Raw text -


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