This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
dont use sv_dump() in -DD diagnostic
authorGisle Aas <gisle@aas.no>
Tue, 14 Jul 1998 23:55:36 +0000 (01:55 +0200)
committerGurusamy Sarathy <gsar@cpan.org>
Wed, 15 Jul 1998 06:41:43 +0000 (06:41 +0000)
Message-ID: <m33ec4jdwn.fsf@furu.g.aas.no>
Subject: [PATCH] Fix 'PERL_DESTRUCT_LEVEL=2 ./perl -DD -e 1' loop

p4raw-id: //depot/perl@1505

sv.c

diff --git a/sv.c b/sv.c
index 41837fc..edee809 100644 (file)
--- a/sv.c
+++ b/sv.c
@@ -374,7 +374,7 @@ sv_clean_objs(void)
 STATIC void
 do_clean_all(SV *sv)
 {
-    DEBUG_D((PerlIO_printf(Perl_debug_log, "Cleaning loops:\n "), sv_dump(sv));)
+    DEBUG_D((PerlIO_printf(Perl_debug_log, "Cleaning loops: SV at 0x%lx\n", sv) );)
     SvFLAGS(sv) |= SVf_BREAK;
     SvREFCNT_dec(sv);
 }