Re: problems with exit codes on 64-bit Windows XP Pro x64

2006-02-09 Thread Christopher Faylor
On Thu, Feb 09, 2006 at 12:32:56PM -0800, Kevin Layer wrote: >Corinna Vinschen <[EMAIL PROTECTED]> wrote: > >>> > I just applied a patch which should return the correct error code. >>> >>> Ah, yes, I forgot: Please test the next snapshot from >>> http://cygwin.com/snapshots/ > >The problem is fix

Re: problems with exit codes on 64-bit Windows XP Pro x64

2006-02-09 Thread Kevin Layer
Corinna Vinschen <[EMAIL PROTECTED]> wrote: >> > I just applied a patch which should return the correct error code. >> >> Ah, yes, I forgot: Please test the next snapshot from >> http://cygwin.com/snapshots/ The problem is fixed. Thank you very much, Corinna. I'd like to second William's comm

Re: problems with exit codes on 64-bit Windows XP Pro x64

2006-02-07 Thread Kevin Layer
Corinna Vinschen <[EMAIL PROTECTED]> wrote: >> On Feb 6 14:49, Kevin Layer wrote: >> > I'm running the latest cygwin (1.5.19, see cygcheck below). >> > >> > My application is a native Windows app (64 and 32-bit). It includes >> > no cygwin libraries and is not compiled with cygwin's gcc. When

Re: problems with exit codes on 64-bit Windows XP Pro x64

2006-02-07 Thread Corinna Vinschen
On Feb 7 11:01, Corinna Vinschen wrote: > On Feb 6 14:49, Kevin Layer wrote: > > I'm running the latest cygwin (1.5.19, see cygcheck below). > > > > My application is a native Windows app (64 and 32-bit). It includes > > no cygwin libraries and is not compiled with cygwin's gcc. When I > > exe

Re: problems with exit codes on 64-bit Windows XP Pro x64

2006-02-07 Thread Corinna Vinschen
On Feb 6 14:49, Kevin Layer wrote: > I'm running the latest cygwin (1.5.19, see cygcheck below). > > My application is a native Windows app (64 and 32-bit). It includes > no cygwin libraries and is not compiled with cygwin's gcc. When I > execute cygwin programs from my app, however, the return

Re: problems with exit codes on 64-bit Windows XP Pro x64

2006-02-06 Thread Kevin Layer
Samuel Thibault <[EMAIL PROTECTED]> wrote: >> Hi, >> >> Kevin Layer, le Mon 06 Feb 2006 14:37:00 -0800, a écrit : >> Content-Description: bug.c >> > /* demonstrate a bug in capturing the exit code from shell */ >> > main (int argc, char *argv[]) >> > { >> > int docommand(char *), res; >> >

Re: problems with exit codes on 64-bit Windows XP Pro x64

2006-02-06 Thread Samuel Thibault
Hi, Kevin Layer, le Mon 06 Feb 2006 14:37:00 -0800, a écrit : Content-Description: bug.c > /* demonstrate a bug in capturing the exit code from shell */ > main (int argc, char *argv[]) > { > int docommand(char *), res; > > if (argc > 1) { > res = docommand(argv[1]); > prin

Re: problems with exit codes on 64-bit Windows XP Pro x64

2006-02-06 Thread Kevin Layer
[Interestingly, the text of my message was stripped out... here it is] I'm running the latest cygwin (1.5.19, see cygcheck below). My application is a native Windows app (64 and 32-bit). It includes no cygwin libraries and is not compiled with cygwin's gcc. When I execute cygwin programs from m

problems with exit codes on 64-bit Windows XP Pro x64

2006-02-06 Thread Kevin Layer
/* demonstrate a bug in capturing the exit code from shell */ #include #include #include #include #include #include #define _POSIX_ #include #include #include main (int argc, char *argv[]) { exit(1); } /* demonstrate a bug in capturing the exit code from shell */ #include #include