X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=sv.c;h=45248db00b84df58d30b406626ebcea8c6e26d3f;hb=c3d14d79d1d1eb43a4cc71509b910e930b4348b5;hp=2bb6f11ecc7693410df6d8caa05b717186d9a15a;hpb=4e93345f7d058505c90a58addadf79d84cde7c12;p=p5sagit%2Fp5-mst-13.2.git diff --git a/sv.c b/sv.c index 2bb6f11..45248db 100644 --- a/sv.c +++ b/sv.c @@ -11785,6 +11785,7 @@ perl_clone_using(PerlInterpreter *proto_perl, UV flags, PL_curcop = NULL; PL_markstack = 0; PL_scopestack = 0; + PL_scopestack_name = 0; PL_savestack = 0; PL_savestack_ix = 0; PL_savestack_max = -1; @@ -11823,6 +11824,7 @@ perl_clone_using(PerlInterpreter *proto_perl, UV flags, PL_curcop = NULL; PL_markstack = 0; PL_scopestack = 0; + PL_scopestack_name = 0; PL_savestack = 0; PL_savestack_ix = 0; PL_savestack_max = -1; @@ -12284,6 +12286,10 @@ perl_clone_using(PerlInterpreter *proto_perl, UV flags, Newxz(PL_scopestack, PL_scopestack_max, I32); Copy(proto_perl->Iscopestack, PL_scopestack, PL_scopestack_ix, I32); +#ifdef DEBUGGING + Newxz(PL_scopestack_name, PL_scopestack_max, const char *); + Copy(proto_perl->Iscopestack_name, PL_scopestack_name, PL_scopestack_ix, const char *); +#endif /* NOTE: si_dup() looks at PL_markstack */ PL_curstackinfo = si_dup(proto_perl->Icurstackinfo, param);