Author: des
Date: Thu Jul  4 14:26:42 2013
New Revision: 252699
URL: http://svnweb.freebsd.org/changeset/base/252699

Log:
  Protect the #define MALLOC_PRODUCTION directive in case it was also
  defined on the command line (due to MALLOC_PRODUCTION=yes in src.conf).

Modified:
  stable/9/lib/libc/stdlib/malloc.c

Modified: stable/9/lib/libc/stdlib/malloc.c
==============================================================================
--- stable/9/lib/libc/stdlib/malloc.c   Thu Jul  4 12:35:39 2013        
(r252698)
+++ stable/9/lib/libc/stdlib/malloc.c   Thu Jul  4 14:26:42 2013        
(r252699)
@@ -123,7 +123,9 @@
  * defaults the A and J runtime options to off.  These settings are appropriate
  * for production systems.
  */
+#ifndef MALLOC_PRODUCTION
 #define        MALLOC_PRODUCTION
+#endif
 
 #ifndef MALLOC_PRODUCTION
    /*
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-stable-9
To unsubscribe, send any mail to "[email protected]"

Reply via email to