svn commit: r252699 - stable/9/lib/libc/stdlib

Dag-Erling Smørgrav des at FreeBSD.org
Thu Jul 4 14:26:42 UTC 2013


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
    /*


More information about the svn-src-all mailing list