summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-08-20 22:09:56 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-08-20 22:09:56 +0000
commit0b250b9ef0d5134fdb23236140643970d9a3fbf5 (patch)
treea52a796a40962c0da4fa92e95a0c89c387b22e70 /util.c
parent4e1d07de7db222a9341b2f3ef89b3df9eeacbf4f (diff)
downloadperl-0b250b9ef0d5134fdb23236140643970d9a3fbf5.tar.gz
DEBUG_m() adjusted to internalize dTHX
p4raw-id: //depot/perl@4013
Diffstat (limited to 'util.c')
-rw-r--r--util.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/util.c b/util.c
index afec79e214..51d757512b 100644
--- a/util.c
+++ b/util.c
@@ -139,10 +139,8 @@ Perl_safesysrealloc(Malloc_t where,MEM_SIZE size)
#endif
ptr = PerlMem_realloc(where,size);
- DEBUG_m( {
- PerlIO_printf(Perl_debug_log, "0x%lx: (%05d) rfree\n",where,PL_an++);
- PerlIO_printf(Perl_debug_log, "0x%lx: (%05d) realloc %ld bytes\n",ptr,PL_an++,(long)size);
- } )
+ DEBUG_m(PerlIO_printf(Perl_debug_log, "0x%lx: (%05d) rfree\n",where,PL_an++));
+ DEBUG_m(PerlIO_printf(Perl_debug_log, "0x%lx: (%05d) realloc %ld bytes\n",ptr,PL_an++,(long)size));
if (ptr != Nullch)
return ptr;