summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorDoug MacEachern <dougm@covalent.net>2001-08-03 10:37:53 -0700
committerJarkko Hietaniemi <jhi@iki.fi>2001-08-03 23:52:56 +0000
commit35061a7e2b3411cdebe03b5b73528a18647b44f9 (patch)
tree2071ce72f462174f89941f98cbffd4c2dd5ebcea /regexec.c
parentc2f0b9b90df219c247538067e1d131fb80adadb0 (diff)
downloadperl-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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/regexec.c b/regexec.c
index 31a1c6abf1..ceed381952 100644
--- a/regexec.c
+++ b/regexec.c
@@ -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);