summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-12-20 13:39:01 +0000
committerNicholas Clark <nick@ccl4.org>2005-12-20 13:39:01 +0000
commitf776e3cd68509957cc5ab2967a78fb0ad213d8aa (patch)
tree6bbb9eac354afe8d1433077b0edf1425619110ad /regcomp.c
parent0bfa2a8afc04ca8a47987d5890bbbe751faf4444 (diff)
downloadperl-f776e3cd68509957cc5ab2967a78fb0ad213d8aa.tar.gz
gv_fetchpv, gv_fetchpvn and gv_fetchsv take a bitmask of flags, rather
than a simple boolean, so passing FALSE or TRUE is bogus. p4raw-id: //depot/perl@26415
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regcomp.c b/regcomp.c
index d943d14308..18b2abf817 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -6225,7 +6225,7 @@ Perl_save_re_context(pTHX)
GV *mgv;
char digits[TYPE_CHARS(long)];
const STRLEN len = my_sprintf(digits, "%lu", (long)i);
- if ((mgv = gv_fetchpvn_flags(digits, len, FALSE, SVt_PV)))
+ if ((mgv = gv_fetchpvn_flags(digits, len, 0, SVt_PV)))
save_scalar(mgv);
}
}