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:
cc83745
)
Re: [perl #23576] valgrind errors for /(?{})/ in t/op/pat.t
author
Dave Mitchell
<davem@fdisolutions.com>
Fri, 19 Sep 2003 19:35:44 +0000
(20:35 +0100)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Sun, 21 Sep 2003 08:15:52 +0000
(08:15 +0000)
Message-ID: <
20030919183544
.GA14563@fdgroup.com>
p4raw-id: //depot/perl@21294
pp_ctl.c
patch
|
blob
|
history
diff --git
a/pp_ctl.c
b/pp_ctl.c
index
3339548
..
9bacadb
100644
(file)
--- a/
pp_ctl.c
+++ b/
pp_ctl.c
@@
-2710,7
+2710,7
@@
Perl_sv_compile_2op(pTHX_ SV *sv, OP** startop, char *code, PAD** padp)
PL_hints &= HINT_UTF8;
/* we get here either during compilation, or via pp_regcomp at runtime */
- runtime =
PL_op && (PL_op->op_type == OP_REGCOMP
);
+ runtime =
(PL_curcop != &PL_compiling
);
if (runtime)
runcv = find_runcv(NULL);