Retract the %_/SVf change (part of #18456) for PROTOTYPE (CV)
Jarkko Hietaniemi [Wed, 29 Jan 2003 05:37:12 +0000 (05:37 +0000)]
dumping (but now use SvPV_nolen).  (This change made an empty
prototype to show up as "_" under -Uuseperlio.)

p4raw-id: //depot/perl@18600

dump.c

diff --git a/dump.c b/dump.c
index 8ca3e02..d4d1444 100644 (file)
--- 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));