avoid 'na' (spotted by Yitzchak Scott-Thoennes <sthoenna@efn.org>)
authorGurusamy Sarathy <gsar@cpan.org>
Fri, 4 Feb 2000 16:43:49 +0000 (16:43 +0000)
committerGurusamy Sarathy <gsar@cpan.org>
Fri, 4 Feb 2000 16:43:49 +0000 (16:43 +0000)
p4raw-id: //depot/perl@4985

ext/Devel/DProf/DProf.xs

index 6ec0275..31e984f 100644 (file)
@@ -539,7 +539,7 @@ XS(XS_DB_sub)
     {
        HV *oldstash = PL_curstash;
 
-        DBG_SUB_NOTIFY("XS DBsub(%s)\n", SvPV(Sub, na));
+        DBG_SUB_NOTIFY("XS DBsub(%s)\n", SvPV_nolen(Sub));
 
        SAVEDESTRUCTOR_X(check_depth, (void*)g_depth);
        g_depth++;
@@ -578,7 +578,7 @@ XS(XS_DB_goto)
                 HV *oldstash = PL_curstash;
                SV *Sub = GvSV(PL_DBsub);       /* name of current sub */
                 /* SP -= items;  added by xsubpp */
-                DBG_SUB_NOTIFY("XS DBsub(%s)\n", SvPV(Sub, na));
+                DBG_SUB_NOTIFY("XS DBsub(%s)\n", SvPV_nolen(Sub));
 
                 sv_setiv(PL_DBsingle, 0);      /* disable DB single-stepping */