summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-10-26 08:31:20 +0000
committerNicholas Clark <nick@ccl4.org>2005-10-26 08:31:20 +0000
commitca0c25f67f45e5dccb746852d8545d7ae29ed067 (patch)
treeb2f03bfd692f36b26f7a9d5f337c55578d3340c1 /pp_sys.c
parent6ac6a52b90121db9304782c76ae9243ce4205369 (diff)
downloadperl-ca0c25f67f45e5dccb746852d8545d7ae29ed067.tar.gz
Most platforms don't actually need PL_pidstatus, or the associated
.5K of code. p4raw-id: //depot/perl@25850
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pp_sys.c b/pp_sys.c
index b907093b9c..19a735a8e7 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -4128,7 +4128,9 @@ PP(pp_fork)
#ifdef THREADS_HAVE_PIDS
PL_ppid = (IV)getppid();
#endif
+#ifdef PERL_USES_PL_PIDSTATUS
hv_clear(PL_pidstatus); /* no kids, so don't wait for 'em */
+#endif
}
PUSHi(childpid);
RETURN;