diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-01-13 22:19:23 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-01-13 22:19:23 -0800 |
commit | 6bb6781ab7f02fc1f87f3650fde209d9a792469b (patch) | |
tree | f4c58f6008365829601b82234fc6dfbe06f6dafe | |
parent | 3888144c4854bb47165057c7e17c85416b7b15be (diff) | |
download | perl-6bb6781ab7f02fc1f87f3650fde209d9a792469b.tar.gz |
pp_sys.c:pp_fttext: Don’t extend the stack after popping
-rw-r--r-- | pp_sys.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -3306,13 +3306,15 @@ PP(pp_fttext) STACKED_FTEST_CHECK; if (PL_op->op_flags & OPf_REF) + { gv = cGVOP_gv; + EXTEND(SP, 1); + } else if (PL_op->op_private & OPpFT_STACKED) gv = PL_defgv; else sv = POPs, gv = MAYBE_DEREF_GV_nomg(sv); if (gv) { - EXTEND(SP, 1); if (gv == PL_defgv) { if (PL_statgv) io = SvTYPE(PL_statgv) == SVt_PVIO |