Patch for cygutils: make cygstart behave better under mount -X

David Rothenberger daveroth@acm.org
Thu May 12 19:01:00 GMT 2005


On 5/12/2005 11:54 AM, Christopher Faylor wrote:
> On Thu, May 12, 2005 at 08:23:34PM +0200, Michael Schaap wrote:
> 
>>Hi,
>>
>>Attached is a patch to fix cygstart behaviour when running under "mount
>>-X".  Cygstart now ensures that the Windows environment is synchronized
>>with the Cygwin one.
>>(For more details, see the recent thread: "Fixing strace and cygcheck so
>>that they work with mount -X")
>>
>>Chuck, can you, at your convenience, apply this patch and release a new
>>version of cygutils?
> 
> 
> Didn't we come to the conclusion that you shouldn't be adding PATH to
> the environment?  I don't see anything which does this in your patch.

It's done indirectly by not copying cygwin variables that already exist 
in the Windows environment. Is it safe to assume that PATH will always 
already been in the Windows environment given a cygexec invocation? If 
not, we'll need to copy it and convert it to Windows form.

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

If money can't buy happiness, I guess you'll just have to rent it.


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



More information about the Cygwin mailing list