From 69f857902b1b105d96448597da9c4bc9cd4e90a3 Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Thu, 2 Sep 2010 16:21:43 +0100 Subject: In XS_VERSION_BOOTCHECK, correct the flags argument of get_sv() to 0. It should not be FALSE, because it's a bitmap, not a boolean. --- XSUB.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'XSUB.h') diff --git a/XSUB.h b/XSUB.h index 939a7a64f7..7a7e88235d 100644 --- a/XSUB.h +++ b/XSUB.h @@ -306,10 +306,10 @@ Rethrows a previously caught exception. See L. else { \ /* XXX GV_ADDWARN */ \ _sv = get_sv(Perl_form(aTHX_ "%s::%s", module, \ - vn = "XS_VERSION"), FALSE); \ + vn = "XS_VERSION"), 0); \ if (!_sv || !SvOK(_sv)) \ _sv = get_sv(Perl_form(aTHX_ "%s::%s", module, \ - vn = "VERSION"), FALSE); \ + vn = "VERSION"), 0); \ } \ if (_sv) { \ SV *xpt = NULL; \ -- cgit v1.2.1