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:
b6136f4
)
buigid #24905 - the code planted to call glob() retained an
author
Dave Mitchell
<davem@fdisolutions.com>
Thu, 15 Jan 2004 23:49:02 +0000
(23:49 +0000)
committer
Dave Mitchell
<davem@fdisolutions.com>
Thu, 15 Jan 2004 23:49:02 +0000
(23:49 +0000)
extraneous targ index in a pushmark op, leasing to strangeness
when the op was freed
p4raw-id: //depot/perl@22160
op.c
patch
|
blob
|
history
diff --git
a/op.c
b/op.c
index
e0d7f54
..
b39d81e
100644
(file)
--- a/
op.c
+++ b/
op.c
@@
-5332,6
+5332,7
@@
Perl_ck_glob(pTHX_ OP *o)
o->op_ppaddr = PL_ppaddr[OP_LIST];
cLISTOPo->op_first->op_type = OP_PUSHMARK;
cLISTOPo->op_first->op_ppaddr = PL_ppaddr[OP_PUSHMARK];
+ cLISTOPo->op_first->op_targ = 0;
o = newUNOP(OP_ENTERSUB, OPf_STACKED,
append_elem(OP_LIST, o,
scalar(newUNOP(OP_RV2CV, 0,