Skip Menu |

This queue is for tickets about the Proc-ProcessTable CPAN distribution.

Report information
The Basics
Id: 14836
Status: resolved
Priority: 0/
Queue: Proc-ProcessTable

People
Owner: Nobody in particular
Requestors: reini.urban [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.40
Fixed in: (no value)



Subject: Cygwin patch: PID_ZOMBIE => PID_ORPHANED
Attached patch fixes compilation under recent cygwin. cygwin.c (OS_get_table): sys/cygwin.h renamed PID_ZOMBIE to PID_ORPHANED.
2005-09-29 21:28:29 rurban@cpan.org * cygwin.c (OS_get_table): sys/cygwin.h renamed PID_ZOMBIE to PID_ORPHANED. --- Proc-ProcessTable-0.40/os/cygwin.c.orig 2005-06-30 03:39:45.000000000 +0000 +++ Proc-ProcessTable-0.40/os/cygwin.c 2005-09-29 19:26:22.042000000 +0000 @@ -209,7 +209,7 @@ else if (p->process_state & PID_TTYOU) pstate = "ttyout"; - if (p->process_state & (PID_ZOMBIE | PID_EXITED)) + if (p->process_state & (PID_ORPHANED | PID_EXITED)) strcpy (pname, "<defunct>"); else if (p->ppid) {
Fixed in version 0.48