From: Jarkko Hietaniemi Date: Wed, 29 Jan 2003 05:37:12 +0000 (+0000) Subject: Retract the %_/SVf change (part of #18456) for PROTOTYPE (CV) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7f848b6b8b0b3c0ddcfdc59f43b1e261084ffa51;p=p5sagit%2Fp5-mst-13.2.git Retract the %_/SVf change (part of #18456) for PROTOTYPE (CV) dumping (but now use SvPV_nolen). (This change made an empty prototype to show up as "_" under -Uuseperlio.) p4raw-id: //depot/perl@18600 --- diff --git a/dump.c b/dump.c index 8ca3e02..d4d1444 100644 --- a/dump.c +++ b/dump.c @@ -1299,7 +1299,7 @@ Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bo break; case SVt_PVCV: if (SvPOK(sv)) - Perl_dump_indent(aTHX_ level, file, " PROTOTYPE = \"%"SVf"\"\n", sv); + Perl_dump_indent(aTHX_ level, file, " PROTOTYPE = \"%s\"\n", SvPV_nolen(sv)); /* FALL THROUGH */ case SVt_PVFM: do_hv_dump(level, file, " COMP_STASH", CvSTASH(sv));