X-Spam-Check-By: sourceware.org Date: Fri, 27 Jan 2006 15:14:59 -0600 From: Brian Ford 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: 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 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/