From: Nicholas Clark Date: Tue, 7 Jun 2005 12:07:49 +0000 (+0000) Subject: XS_VERSION_BOOTCHECK is read only. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4235c0408fde95a5af94021364452d3d00c1e881;p=p5sagit%2Fp5-mst-13.2.git XS_VERSION_BOOTCHECK is read only. p4raw-id: //depot/perl@24724 --- 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 { \