summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-01-24 09:23:02 -0800
committerFather Chrysostomos <sprout@cpan.org>2012-01-24 09:23:02 -0800
commitc57800287bb7332d399cc08ed7d34606d6640e22 (patch)
tree352e180216437e2cacbbba1e949a88edce123328 /pp_sys.c
parent0ac0889ddd9fa6a813ba1775f80d5284ffa95d9f (diff)
downloadperl-c57800287bb7332d399cc08ed7d34606d6640e22.tar.gz
Call FETCH once for stacked filetest ops
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_sys.c b/pp_sys.c
index 47c8a35f62..d4f1b9f281 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -2949,7 +2949,7 @@ S_try_amagic_ftest(pTHX_ char chr) {
SV* const arg = TOPs;
assert(chr != '?');
- SvGETMAGIC(arg);
+ if (!(PL_op->op_private & OPpFT_STACKING)) SvGETMAGIC(arg);
if (SvAMAGIC(TOPs))
{