This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: LD_PRELOAD regression on 1.5.19-4 ? no more loaded library in child process


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]