diff options
author | Dave Mitchell <davem@fdisolutions.com> | 2007-06-26 21:07:02 +0000 |
---|---|---|
committer | Dave Mitchell <davem@fdisolutions.com> | 2007-06-26 21:07:02 +0000 |
commit | b8328daed2539ae075bccc60f3e5bb4b34f39c28 (patch) | |
tree | c4913f5ccfbdf02beaaf2c3e18d9d938e6e76768 /sv.c | |
parent | 22717f83d889005ea69f223baa94257d681f86d7 (diff) | |
download | perl-b8328daed2539ae075bccc60f3e5bb4b34f39c28.tar.gz |
make sure PL_Parser is NULL during early stage of thread clone
p4raw-id: //depot/perl@31474
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -10906,6 +10906,7 @@ perl_clone_using(PerlInterpreter *proto_perl, UV flags, PL_savestack_ix = 0; PL_savestack_max = -1; PL_sig_pending = 0; + PL_parser = NULL; Zero(&PL_debug_pad, 1, struct perl_debug_pad); # else /* !DEBUGGING */ Zero(my_perl, 1, PerlInterpreter); @@ -10940,6 +10941,7 @@ perl_clone_using(PerlInterpreter *proto_perl, UV flags, PL_savestack_ix = 0; PL_savestack_max = -1; PL_sig_pending = 0; + PL_parser = NULL; Zero(&PL_debug_pad, 1, struct perl_debug_pad); # else /* !DEBUGGING */ Zero(my_perl, 1, PerlInterpreter); |