Re: Fixing strace and cygcheck so that they work with mount -X

2005-05-12 Thread Michael Schaap
On 12-May-2005 1:49, David Rothenberger wrote: > >> Revised patch attached. Can you try this out and see if it still works >> for you? If you confirm this, I'll resend the patch in a new, more >> obviously titled thread, to attract Chuck's attention. ;-) > > > Works fine for me. Start attractin

Re: Fixing strace and cygcheck so that they work with mount -X

2005-05-11 Thread Christopher Faylor
On Wed, May 11, 2005 at 08:19:55PM -0700, David Rothenberger wrote: >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

Re: Fixing strace and cygcheck so that they work with mount -X

2005-05-11 Thread David Rothenberger
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 ab

Re: Fixing strace and cygcheck so that they work with mount -X

2005-05-11 Thread Christopher Faylor
On Wed, May 11, 2005 at 04:49:52PM -0700, David Rothenberger wrote: >On 5/11/2005 3:41 PM, Michael Schaap wrote: >>The patch as-is doesn't compile for me, though, I presume because >>char **envp = (char **) cygwin_internal (CW_ENVP); >>uses a not-yet-released Cygwin enhancement. But when I cha

Re: Fixing strace and cygcheck so that they work with mount -X

2005-05-11 Thread David Rothenberger
On 5/11/2005 3:41 PM, Michael Schaap wrote: The patch as-is doesn't compile for me, though, I presume because char **envp = (char **) cygwin_internal (CW_ENVP); uses a not-yet-released Cygwin enhancement. But when I change it to the simpler and more standard char **envp = environ; it compi

Re: Fixing strace and cygcheck so that they work with mount -X

2005-05-11 Thread Michael Schaap
On 11-May-2005 20:58, David Rothenberger wrote: > On 5/11/2005 9:53 AM, Christopher Faylor wrote: > >> On Wed, May 11, 2005 at 11:40:36AM -0400, Christopher Faylor wrote: >> >>> It sounds like you need to read MSDN on CreateProcess and see what >>> it says >>> about "lpEnvironment": >>> >>> http:/

Re: Fixing strace and cygcheck so that they work with mount -X

2005-05-11 Thread David Rothenberger
On 5/11/2005 9:53 AM, Christopher Faylor wrote: On Wed, May 11, 2005 at 11:40:36AM -0400, Christopher Faylor wrote: 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/createp

Re: Fixing strace and cygcheck so that they work with mount -X

2005-05-11 Thread Christopher Faylor
On Wed, May 11, 2005 at 11:40:36AM -0400, Christopher Faylor wrote: >On Wed, May 11, 2005 at 05:30:11PM +0200, Michael Schaap wrote: >>On 10-May-2005 17:17, Christopher Faylor wrote: >> >>>On Mon, May 09, 2005 at 09:19:14PM +0200, Michael Schaap wrote: >>> >>> On 9-May-2005 19:22, David Rothe

Re: Fixing strace and cygcheck so that they work with mount -X

2005-05-11 Thread Christopher Faylor
On Wed, May 11, 2005 at 05:30:11PM +0200, Michael Schaap wrote: >On 10-May-2005 17:17, Christopher Faylor wrote: > >>On Mon, May 09, 2005 at 09:19:14PM +0200, Michael Schaap wrote: >> >> >>>On 9-May-2005 19:22, David Rothenberger wrote: >>> >>> >>> Does cygstart also need to be fixed? I'v

Re: Fixing strace and cygcheck so that they work with mount -X

2005-05-11 Thread Michael Schaap
On 10-May-2005 17:17, Christopher Faylor wrote: >On Mon, May 09, 2005 at 09:19:14PM +0200, Michael Schaap wrote: > > >>On 9-May-2005 19:22, David Rothenberger wrote: >> >> >> >>>Does cygstart also need to be fixed? I've found that it doesn't >>>propagate the full Cygwin environment when /bin

Re: Fixing strace and cygcheck so that they work with mount -X

2005-05-10 Thread Christopher Faylor
On Mon, May 09, 2005 at 09:19:14PM +0200, Michael Schaap wrote: >On 9-May-2005 19:22, David Rothenberger wrote: > >> On 5/8/2005 7:26 PM, Christopher Faylor wrote: >> >>> On Sun, May 08, 2005 at 08:21:26PM -0400, Christopher Faylor wrote: >>> Ultimately, I just have to make strace and cygcheck

Re: Fixing strace and cygcheck so that they work with mount -X

2005-05-09 Thread Michael Schaap
On 9-May-2005 19:22, David Rothenberger wrote: > On 5/8/2005 7:26 PM, Christopher Faylor wrote: > >> On Sun, May 08, 2005 at 08:21:26PM -0400, Christopher Faylor wrote: >> >>> Ultimately, I just have to make strace and cygcheck understand the >>> cygwin arguments and environment variables. Then we

Re: Fixing strace and cygcheck so that they work with mount -X

2005-05-09 Thread David Rothenberger
On 5/8/2005 7:26 PM, Christopher Faylor wrote: On Sun, May 08, 2005 at 08:21:26PM -0400, Christopher Faylor wrote: Ultimately, I just have to make strace and cygcheck understand the cygwin arguments and environment variables. Then we won't need this. I would appreciate it if people would check out

RE: Fixing strace and cygcheck so that they work with mount -X

2005-05-09 Thread Dave Korn
Original Message >From: Christopher Faylor >Sent: 09 May 2005 03:26 > On Sun, May 08, 2005 at 08:21:26PM -0400, Christopher Faylor wrote: > The above is an *example* of what could be done to install the needed > files. There may be typos in the example or it may not work perfectly > on y