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: Fixing strace and cygcheck so that they work with mount -X


On 5/11/2005 7:57 PM, Christopher Faylor wrote:
> On Wed, May 11, 2005 at 04:49:52PM -0700, David Rothenberger wrote:
> 
>>On 5/11/2005 3:41 PM, Michael Schaap wrote:
>>
>>>(At first I was a bit suspicious of the logic - it only sets those
>>>Windows variables that are not currently set, so what about variables
>>>that were changed or deleted within Cygwin? - but it looks like the
>>>Windows environment isn't the standard pre-Cygwin user environment, but
>>>a minimal one with only PATH and SYSTEMROOT set, so it actually does
>>>behave optimally this way - it sets all other variables when running
>>>under mount -X, and sets nothing otherwise.)
>>
>>Right. The main reason I did that, though, was because copying the 
>>Cygwin PATH to the Windows environment caused lots of core dumps.
> 
> 
> You're going to have to convert the PATH to windows form before adding
> it to the environment.

Well, I think that problem is avoided because the patch only copies
variables from the cygwin environment if they're not already in the
Windows environment, and PATH is already in the Windows environment.

-- 
David Rothenberger                spammer? -> spam@daveroth.dyndns.org
GPG/PGP: 0x7F67E734, C233 365A 25EF 2C5F C8E1 43DF B44F BA26 7F67 E734

Genius, n.:
	A chemist who discovers a laundry additive that rhymes with "bright."



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