This is the mail archive of the
mailing list for the Cygwin project.
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:
? Wasn't he testing this using Windows calls to get the environment?
Lead Realtime Software Engineer
VITAL - Visual Simulation Systems
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