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:
d182087
)
goto &sub doesn't empty @_
author
Dave Mitchell
<davem@fdisolutions.com>
Sun, 20 Apr 2003 21:46:51 +0000
(22:46 +0100)
committer
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Sun, 20 Apr 2003 22:01:28 +0000
(22:01 +0000)
Message-ID: <
20030420204651
.GE15591@fdgroup.com>
p4raw-id: //depot/perl@19283
pp_ctl.c
patch
|
blob
|
history
diff --git
a/pp_ctl.c
b/pp_ctl.c
index
4c53879
..
ac05b2f
100644
(file)
--- a/
pp_ctl.c
+++ b/
pp_ctl.c
@@
-2234,6
+2234,8
@@
PP(pp_goto)
AvFLAGS(av) = AVf_REIFY;
PAD_SVl(0) = (SV*)(cx->blk_sub.argarray = av);
}
+ else
+ CLEAR_ARGARRAY(av);
}
else if (CvXSUB(cv)) { /* put GvAV(defgv) back onto stack */
AV* av;