This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
92aa566
)
Purify: #15434 got the test the wrong.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Sat, 23 Mar 2002 03:05:11 +0000
(
03:05
+0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Sat, 23 Mar 2002 03:05:11 +0000
(
03:05
+0000)
(Is there an approved way of testing "is this an unop"?)
p4raw-id: //depot/perl@15439
op.c
patch
|
blob
|
blame
|
history
diff --git
a/op.c
b/op.c
index
1c88bba
..
82c9b02
100644
(file)
--- a/
op.c
+++ b/
op.c
@@
-5971,7
+5971,7
@@
Perl_ck_fun(pTHX_ OP *o)
OP *newop = newGVOP(OP_GV, 0,
gv_fetchpv(SvPVx(((SVOP*)kid)->op_sv, n_a), TRUE,
SVt_PVIO) );
- if (
(o->op_flags & OPf_KIDS) &&
+ if (
!(o->op_private & 1) && /* if not unop */
kid == cLISTOPo->op_last)
cLISTOPo->op_last = newop;
op_free(kid);