* lib/malloca.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 8 Apr 2011 18:14:38 +0000 (11:14 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 8 Apr 2011 20:31:40 +0000 (13:31 -0700)
ChangeLog
lib/malloca.c

index bf38cd7..deb8c12 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,7 @@
        if !_GL_USE_STDLIB_ALLOC.
        * lib/careadlinkat.c (_GL_USE_STDLIB_ALLOC): Define.
        (malloc, realloc): Don't #undef; no longer needed.
+       * lib/malloca.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise.
 
        careadlinkat: rename members to avoid problem
        * lib/allocator.h (struct allocator): Rename members from
index be3783e..45d3075 100644 (file)
@@ -16,6 +16,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
+#define _GL_USE_STDLIB_ALLOC 1
 #include <config.h>
 
 /* Specification.  */
@@ -23,9 +24,6 @@
 
 #include "verify.h"
 
-/* Use the system functions, not the gnulib overrides in this file.  */
-#undef malloc
-
 /* The speed critical point in this file is freea() applied to an alloca()
    result: it must be fast, to match the speed of alloca().  The speed of
    mmalloca() and freea() in the other case are not critical, because they