This is the mail archive of the
cygwin-talk@cygwin.com
mailing list for the cygwin project.
Re: Fixing strace and cygcheck so that they work with mount -X
- From: Christopher Faylor <cgf-no-personal-reply-please at cygwin dot com>
- To: Talk Amongst Yourselves <cygwin-talk at cygwin dot com>
- Date: Wed, 11 May 2005 12:02:33 -0400
- Subject: Re: Fixing strace and cygcheck so that they work with mount -X
- References: <20050511154036.GD10119@trixie.casa.cgf.cx> <SERRANONoFMdd0ByWTz00000310@SERRANO.CAM.ARTIMI.COM>
- Reply-to: Talk Amongst Yourselves <cygwin-talk at cygwin dot com>
- Reply-to: cygwin-talk at cygwin dot com
On Wed, May 11, 2005 at 04:47:28PM +0100, Dave Korn wrote:
>----Original Message----
>>From: Christopher Faylor
>>Sent: 11 May 2005 16:41
>>It sounds like you need to read MSDN on CreateProcess and see what it
>>says about "lpEnvironment":
>>
>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/createprocess.asp
>
>Well, among other things, it says ...
>
>" Each string is in the form:
>
>name=value
>
>Because the equal sign is used as a separator, it must not be used in
>the name of an environment variable."
>
>... and then a little later on it also says ...
>
>" For example, there is an environment variable named =C: whose value
>is the current directory on drive C. An application must manually pass
>the current directory information to the new process. To do so, the
>application must explicitly create these environment variable strings,
>sort them alphabetically (because the system uses a sorted
>environment), and put them into the environment block. "
Yeah, were you following the discussion related to this in the
gdb-patches mailing list?
Anyway, now that you've read the documentation, do you want to provide
in-depth technical help on how to construct an environment block?
cgf