projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
f83d253
)
perlipc bug (spotted by Ben Low)
Gurusamy Sarathy [Tue, 22 Feb 2000 09:44:07 +0000 (09:44 +0000)]
p4raw-id: //depot/perl@5194
pod/perlipc.pod
patch
|
blob
|
blame
|
history
diff --git
a/pod/perlipc.pod
b/pod/perlipc.pod
index
3034197
..
3649e4f
100644
(file)
--- a/
pod/perlipc.pod
+++ b/
pod/perlipc.pod
@@
-126,7
+126,7
@@
or even the more elaborate:
use POSIX ":sys_wait_h";
sub REAPER {
my $child;
- while ($child = waitpid(-1,WNOHANG)) {
+ while (($child = waitpid(-1,WNOHANG)) > 0) {
$Kid_Status{$child} = $?;
}
$SIG{CHLD} = \&REAPER; # still loathe sysV