projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
421e5dc
)
Re: [PATCH] Threadsafe PMOPs! We might still win this war.
author
Doug MacEachern
<dougm@covalent.net>
Thu, 12 Jul 2001 10:11:28 +0000
(
03:11
-0700)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Thu, 12 Jul 2001 16:12:23 +0000
(16:12 +0000)
Message-ID: <Pine.LNX.4.21.
0107121010160
.28844-100000@mako.covalent.net>
p4raw-id: //depot/perl@11313
op.c
patch
|
blob
|
history
diff --git
a/op.c
b/op.c
index
28c93d8
..
98239d9
100644
(file)
--- a/
op.c
+++ b/
op.c
@@
-2951,7
+2951,7
@@
Perl_newPMOP(pTHX_ I32 type, I32 flags)
#ifdef USE_ITHREADS
{
SV* repointer = newSViv(0);
- av_push(PL_regex_padav,
repointer
);
+ av_push(PL_regex_padav,
SvREFCNT_inc(repointer)
);
pmop->op_pmoffset = av_len(PL_regex_padav);
PL_regex_pad = AvARRAY(PL_regex_padav);
}