summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-03-29 14:52:45 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-05-21 10:49:04 -0700
commit6ade2d35dc8c339a3e8d6ee685819d2a68e20edd (patch)
tree80419557d22c3fa3c19dcc2b7850f01812e93fd1 /pp_sys.c
parent4e794a06541f155fd9807caed6e516ff47cfe649 (diff)
downloadperl-6ade2d35dc8c339a3e8d6ee685819d2a68e20edd.tar.gz
Make -t BAREWORD extend the stack
It appears always to have been this way. It was writing past the end of the stack.
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pp_sys.c b/pp_sys.c
index 97537639fa..14aa3240fe 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -3277,6 +3277,7 @@ PP(pp_fttty)
tryAMAGICftest_MG('t');
if (PL_op->op_flags & OPf_REF)
+ EXTEND(SP,1),
gv = cGVOP_gv;
else {
SV *tmpsv = TOPs;