delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/10/24/10:50:30

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3BD6D534.F61542D6@yahoo.com>
Date: Wed, 24 Oct 2001 10:50:28 -0400
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: CD List <Cygwin-Developers AT Cygwin DOT Com>
X-Mailer: Mozilla 4.77 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: egor duda <cygwin-developers AT Cygwin DOT Com>
Subject: Re: Need name and functionality suggestions for a new utility
References: <20011024005137 DOT A29851 AT redhat DOT com>
<007f01c15c7b$84f86a50$65f504c0 AT sos> <3BD6AFAF DOT 8DC42F4A AT yahoo DOT com>
<539145530 DOT 20011024170752 AT logos-m DOT ru> <3BD6C60D DOT B37C39EE AT yahoo DOT com> <4412910263 DOT 20011024181036 AT logos-m DOT ru>

egor duda wrote:
> 
> but i want to use these environments (gasp) simultaneously! Ain't it
> a multitasking OS?
> 

You've a lot of work to do to allow multiple versions of cygwin1.dll
executing simultaneously to happen properly.  It has nothing to do with
multitasking OS.

> >> 2. changing $PATH is not enough. for example, system() calls /bin/sh,
> >> and doesn't perform $PATH lookup.
> 
> EB> That's fine, in the scenario I described above the part that changed was
> EB> the cygwin1.dll not the sh.exe binary.  I just don't get why anything
> EB> else is necessary to isolate a test version of cygwin1.dll.
> 
> the problem is not with test versions, but with separate environments.
> changing $PATH works as long as programs are called without full path.
> and calling application using full path is rather common practice,
> isn't it? :)
> 

So what is the problem with the "full path"?  I'm missing your point.

PATH=/dll-1.3.3:/bin
/bin/sh executes sh using the released dll.

PATH=/dll-test:/bin
/bin/sh executes sh using the test version of the dll.

/bin/cygwin1.dll doesn't exist.

> EB> If a differing mount table is desired, and I do see potential PRO's for
> EB> such a thing then a CYGWIN option "mountkey=foo" should be added and a
> EB> tool "cygremount" that copies the "mount v2" keys to a user specified
> EB> value be given.
> 
> exactly.
> 

You still won't be able to use both environments simultaneously.  It's
either one or the other.

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

- Raw text -


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