summaryrefslogtreecommitdiff
path: root/malloc.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-06-10 09:30:35 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-06-10 09:30:35 +0000
commit0672f40ebb7f0cdf6045545c3680ba955a0cd920 (patch)
treee46ab1ba356a4f330fdbebda5c993eaf3c39588c /malloc.c
parent66918de8dd631444b797319b2251d78ebc0b12ef (diff)
downloadperl-0672f40ebb7f0cdf6045545c3680ba955a0cd920.tar.gz
most globals are now interpreter local; locale initialization
was too early, defer it until interpreter is allocated and initialized; multiple interpreters should now be concurrency-safe (untested) p4raw-id: //depot/perl@3527
Diffstat (limited to 'malloc.c')
-rw-r--r--malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc.c b/malloc.c
index 1bd777a8af..8a6a8bcb5f 100644
--- a/malloc.c
+++ b/malloc.c
@@ -308,7 +308,7 @@
#ifdef DEBUGGING
# undef DEBUG_m
-# define DEBUG_m(a) if (PL_debug & 128) a
+# define DEBUG_m(a) if (PL_curinterp && PL_debug & 128) a
#endif
/*