From: Nicholas Clark Date: Fri, 21 Apr 2006 11:38:24 +0000 (+0000) Subject: Given that use re 'debug' can turn on DEBUGGING even on a non-DEBUGGING X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=83f21520f5a54c9513027c729005d6adb6ddea45;p=p5sagit%2Fp5-mst-13.2.git Given that use re 'debug' can turn on DEBUGGING even on a non-DEBUGGING build, we cannot assume that PL_reg_starttry isn't needed. So copy it in Perl_ss_dup. p4raw-id: //depot/perl@27930 --- diff --git a/sv.c b/sv.c index 198a2c9..1c2e0af 100644 --- a/sv.c +++ b/sv.c @@ -10689,10 +10689,8 @@ Perl_ss_dup(pTHX_ PerlInterpreter *proto_perl, CLONE_PARAMS* param) = pv_dup(old_state->re_state_reg_oldsaved); new_state->re_state_reg_poscache = pv_dup(old_state->re_state_reg_poscache); -#ifdef DEBUGGING new_state->re_state_reg_starttry = pv_dup(old_state->re_state_reg_starttry); -#endif break; } case SAVEt_COMPILE_WARNINGS: