On Sep 15 10:08, Eduardo Chappa wrote:
> *** Corinna Vinschen ([EMAIL PROTECTED]) wrote in the cygwin...:
>
> :) On Sep 15 09:18, Eduardo Chappa wrote:
> :) > The problem I have is that when Pine gets ppid == 1 it exits [...]
> :)
> :) That's a bug in pine. It means, you can't run pine from cm
*** Corinna Vinschen ([EMAIL PROTECTED]) wrote in the cygwin...:
:) On Sep 15 09:18, Eduardo Chappa wrote:
:) > The problem I have is that when Pine gets ppid == 1 it exits [...]
:)
:) That's a bug in pine. It means, you can't run pine from cmd.exe, resp.
:) command.com.
Corinna,
I can ru
On Thu, Sep 15, 2005 at 09:54:01AM -0700, Eduardo Chappa wrote:
>*** Christopher Faylor ([EMAIL PROTECTED]) wrote...:
>
>:) If your program looked like this:
>:) [removed some sample code, etc]
>:)
>:) The above is just a suggestion and is not a 100% accurate
>:) representation of what needs to b
On Sep 15 09:18, Eduardo Chappa wrote:
> The problem I have is that when Pine gets ppid == 1 it exits [...]
That's a bug in pine. It means, you can't run pine from cmd.exe, resp.
command.com.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project
*** Christopher Faylor ([EMAIL PROTECTED]) wrote...:
:) If your program looked like this:
:) [removed some sample code, etc]
:)
:) The above is just a suggestion and is not a 100% accurate
:) representation of what needs to be done, of course.
Right, if this was just my case I could do this (no
On Thu, Sep 15, 2005 at 09:18:10AM -0700, Eduardo Chappa wrote:
>The problem I have is that when Pine gets ppid == 1 it exits, and this
>is checked after a timeout for a select() command, which makes it very
>hard to debug pine under gdb.
If your program looked like this:
47 int ppid = getppi
*** Corinna Vinschen ([EMAIL PROTECTED]) wrote in the cygwin...:
:) > The output is "My parent is bad". I believe this is a bug in Cygwin's
:) > implementation of getppid().
:)
:) No, it's not a bug. GDB starts the inferior process using the standard
:) Windows mechanisms since it should be us
On Sep 15 08:14, Eduardo Chappa wrote:
> gdb ./test
> (gdb) run
>
> The output is "My parent is bad". I believe this is a bug in Cygwin's
> implementation of getppid().
No, it's not a bug. GDB starts the inferior process using the standard
Windows mechanisms since it should be useful also for n
Hello,
I have a problem runing the following program "test.c"
--
#include
#include
#include
main()
{
int p;
if((p = getppid()) == 1)
printf("My parent is bad, ppid=%d\n", p);
else
printf("My parent is good, ppid=%d\n", p);
exit(0);
}
I build the program with
9 matches
Mail list logo