From 4235c0408fde95a5af94021364452d3d00c1e881 Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Tue, 7 Jun 2005 12:07:49 +0000 Subject: [PATCH] XS_VERSION_BOOTCHECK is read only. p4raw-id: //depot/perl@24724 --- XSUB.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/XSUB.h b/XSUB.h index b59a95f..24a5607 100644 --- a/XSUB.h +++ b/XSUB.h @@ -261,7 +261,7 @@ Rethrows a previously caught exception. See L. # define XS_VERSION_BOOTCHECK \ STMT_START { \ SV *_sv; STRLEN n_a; \ - const char *vn = Nullch, *module = SvPV(ST(0),n_a); \ + const char *vn = Nullch, *module = SvPV_const(ST(0),n_a); \ if (items >= 2) /* version supplied as bootstrap arg */ \ _sv = ST(1); \ else { \ -- 2.7.4