Change 13511 by jhi@alpha on 2001/12/07 14:40:58
Subject: [ID 20011207.001] documentation bug for waitpid
From: Jan-Pieter Cornet <[EMAIL PROTECTED]>
Date: Fri, 7 Dec 2001 12:44:56 +0100
Message-Id: <[EMAIL PROTECTED]>
Affected files ...
.... //depot/perl/pod/perlfunc.pod#281 edit
Differences ...
==== //depot/perl/pod/perlfunc.pod#281 (text) ====
Index: perl/pod/perlfunc.pod
--- perl/pod/perlfunc.pod.~1~ Fri Dec 7 07:45:06 2001
+++ perl/pod/perlfunc.pod Fri Dec 7 07:45:06 2001
@@ -6152,7 +6152,7 @@
#...
do {
$kid = waitpid(-1, WNOHANG);
- } until $kid == -1;
+ } until $kid > 0;
then you can do a non-blocking wait for all pending zombie processes.
Non-blocking wait is available on machines supporting either the
End of Patch.