summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
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;