Skip Menu |

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

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

Owner: Nobody in particular
Requestors: rurban [...]

Bug Information
Severity: Critical
Broken in: 0.45
Fixed in: (no value)


Subject: [PATCH] cygwin PID_ORPHANED again
Since cygwin 1.7.9 PID_ORPHANED is gone at all. Attached patch is needed now.
Subject: Proc-ProcessTable-0.45.patch
difforig Proc-ProcessTable-0.45 diff -u Proc-ProcessTable-0.45/os/cygwin.c.orig --- Proc-ProcessTable-0.45/os/cygwin.c.orig 2006-06-29 06:05:54.000000000 +0200 +++ Proc-ProcessTable-0.45/os/cygwin.c 2011-04-04 17:42:51.891750000 +0200 @@ -208,8 +208,11 @@ pstate = "ttyin"; else if (p->process_state & PID_TTYOU) pstate = "ttyout"; - +#ifdef PID_ORPHANED if (p->process_state & (PID_ORPHANED | PID_EXITED)) +#else + if (p->process_state & PID_EXITED) +#endif strcpy (pname, "<defunct>"); else if (p->ppid) {
patched online github repo

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to