summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2020-11-10 15:50:27 +1100
committerTony Cook <tony@develop-help.com>2020-11-11 23:36:17 +0000
commitf877e124a20d4f94c82c36e6b7a99b4e9663e204 (patch)
tree4ed7b1f43cc6f6ccd919804bee5ccba76eae2f04 /pp_sys.c
parent55d39ade3808b7087ce5a23329f238141c066990 (diff)
downloadperl-f877e124a20d4f94c82c36e6b7a99b4e9663e204.tar.gz
fetch magic on the first stacked filetest, not the last
fixes #18293
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 66c5d9aade..5c9f768eaf 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -3067,7 +3067,7 @@ S_try_amagic_ftest(pTHX_ char chr) {
SV *const arg = *PL_stack_sp;
assert(chr != '?');
- if (!(PL_op->op_private & OPpFT_STACKING)) SvGETMAGIC(arg);
+ if (!(PL_op->op_private & OPpFT_STACKED)) SvGETMAGIC(arg);
if (SvAMAGIC(arg))
{