diff options
author | Doug MacEachern <dougm@covalent.net> | 2001-08-03 10:37:53 -0700 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-08-03 23:52:56 +0000 |
commit | 35061a7e2b3411cdebe03b5b73528a18647b44f9 (patch) | |
tree | 2071ce72f462174f89941f98cbffd4c2dd5ebcea /regexec.c | |
parent | c2f0b9b90df219c247538067e1d131fb80adadb0 (diff) | |
download | perl-35061a7e2b3411cdebe03b5b73528a18647b44f9.tar.gz |
[patch] ignore PL_curpm in PL_regex_padav cleanup
Message-ID: <Pine.LNX.4.21.0108031730040.23972-100000@mako.covalent.net>
p4raw-id: //depot/perl@11567
Diffstat (limited to 'regexec.c')
-rw-r--r-- | regexec.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1855,6 +1855,8 @@ S_regtry(pTHX_ regexp *prog, char *startpos) #ifdef USE_ITHREADS { SV* repointer = newSViv(0); + /* so we know which PL_regex_padav element is PL_curpm */ + SvFLAGS(repointer) |= SVf_BREAK; av_push(PL_regex_padav,repointer); PL_reg_curpm->op_pmoffset = av_len(PL_regex_padav); PL_regex_pad = AvARRAY(PL_regex_padav); |