diff options
author | Dave Mitchell <davem@fdisolutions.com> | 2007-01-15 18:19:20 +0000 |
---|---|---|
committer | Dave Mitchell <davem@fdisolutions.com> | 2007-01-15 18:19:20 +0000 |
commit | 607905347eb1bbe08eb76ed3e8e9e27622ad97ed (patch) | |
tree | 8233b938f1ac93e28d2cb63c576fd86ffc993b72 /sv.c | |
parent | 17ab79462074d95168fb4cd137197d4e6a0696b2 (diff) | |
download | perl-607905347eb1bbe08eb76ed3e8e9e27622ad97ed.tar.gz |
when cloning PL_regex_pad, copy SVf_BREAK flag too
p4raw-id: //depot/perl@29837
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -11025,6 +11025,8 @@ perl_clone_using(PerlInterpreter *proto_perl, UV flags, newSViv(PTR2IV(CALLREGDUPE( INT2PTR(REGEXP *, SvIVX(regex)), param)))) ; + if (SvFLAGS(regex) & SVf_BREAK) + SvFLAGS(sv) |= SVf_BREAK; /* unrefcnted PL_curpm */ av_push(PL_regex_padav, sv); } } |