projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f83d253
)
perlipc bug (spotted by Ben Low)
author
Gurusamy Sarathy
<gsar@cpan.org>
Tue, 22 Feb 2000 09:44:07 +0000
(09:44 +0000)
committer
Gurusamy Sarathy
<gsar@cpan.org>
Tue, 22 Feb 2000 09:44:07 +0000
(09:44 +0000)
p4raw-id: //depot/perl@5194
pod/perlipc.pod
patch
|
blob
|
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