summaryrefslogtreecommitdiff
path: root/sv.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
commit27c66b2061945a09a1a06365ea9866c9415480af (patch)
treeb2f03bfd692f36b26f7a9d5f337c55578d3340c1 /sv.c
parenta04a538fa3b2aa3b71c0139beb2edeb6f1c5aa15 (diff)
downloadperl-27c66b2061945a09a1a06365ea9866c9415480af.tar.gz
Most platforms don't actually need PL_pidstatus, or the associated
.5K of code. p4raw-id: //depot/perl@25850
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sv.c b/sv.c
index fc89183c77..53ef6e09ee 100644
--- a/sv.c
+++ b/sv.c
@@ -11608,7 +11608,9 @@ perl_clone_using(PerlInterpreter *proto_perl, UV flags,
PL_evalseq = proto_perl->Ievalseq;
PL_origenviron = proto_perl->Iorigenviron; /* XXX not quite right */
PL_origalen = proto_perl->Iorigalen;
+#ifdef PERL_USES_PL_PIDSTATUS
PL_pidstatus = newHV(); /* XXX flag for cloning? */
+#endif
PL_osname = SAVEPV(proto_perl->Iosname);
PL_sighandlerp = proto_perl->Isighandlerp;