delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/27/16:14:27

X-Spam-Check-By: sourceware.org
Date: Fri, 27 Jan 2006 15:14:59 -0600
From: Brian Ford <Brian DOT Ford AT flightsafety DOT com>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: LD_PRELOAD regression on 1.5.19-4 ? no more loaded library in child process
In-Reply-To: <20060127201459.GA8283@trixie.casa.cgf.cx>
Message-ID: <Pine.CYG.4.58.0601271511110.3176@PC1163-8460-XP.flightsafety.com>
References: <5CD8C8F9F151D142922161D4CF32F9400573F604 AT exch-lv03 DOT intl DOT businessobjects DOT com> <20060127201459 DOT GA8283 AT trixie DOT casa DOT cgf DOT cx>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On Fri, 27 Jan 2006, Christopher Faylor wrote:

> On Fri, Jan 27, 2006 at 06:31:29PM +0100, Louis Lecaroz wrote:
> >Looking a little bit better inside & drilling in the issue, here is
> >what I found : from cmd.exe ->Start bash -->All environment variables
> >from cmd.exe were propaged in bash environment+.profiles one.  -->Start
> >"vi sample.txt" from this bash instance ---->A new instance of bash is
> >loaded with also all environment variables.  ----->A VIM.exe instance
> >is loaded but only with PATH, SYSTEMDRIVE, SYSTEMROOT, WINDIR !!!!!!!!!
>
> I don't know why a vi session would start a new version of bash but I
> couldn't duplicate this in any way.

Wouldn't the method he is using to "detect" this simply be detecting the
fork of bash before the exec?

And isn't this just another case of:

http://cygwin.com/ml/cygwin/2006-01/msg00938.html

?  Wasn't he testing this using Windows calls to get the environment?

-- 
Brian Ford
Lead Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained pilot...

--
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