This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Let perl_clone copy PL_exit_flags
authorArtur Bergman <sky@nanisky.com>
Fri, 17 Aug 2001 13:34:04 +0000 (13:34 +0000)
committerArtur Bergman <sky@nanisky.com>
Fri, 17 Aug 2001 13:34:04 +0000 (13:34 +0000)
p4raw-id: //depot/perl@11708

sv.c

diff --git a/sv.c b/sv.c
index 3426596..d157f71 100644 (file)
--- a/sv.c
+++ b/sv.c
@@ -9784,6 +9784,7 @@ perl_clone_using(PerlInterpreter *proto_perl, UV flags,
     PL_e_script                = sv_dup_inc(proto_perl->Ie_script, param);
     PL_perldb          = proto_perl->Iperldb;
     PL_perl_destruct_level = proto_perl->Iperl_destruct_level;
+    PL_exit_flags       = proto_perl->Iexit_flags;
 
     /* magical thingies */
     /* XXX time(&PL_basetime) when asked for? */