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

index 753536e..3f31057 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -10,6 +10,7 @@
        * lib/setenv.c (_GL_USE_STDLIB_ALLOC, malloc, realloc): Likewise.
        * lib/canonicalize-lgpl.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise.
        * lib/relocatable.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise.
+       * lib/relocwrapper.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise.
 
        careadlinkat: rename members to avoid problem
        * lib/allocator.h (struct allocator): Rename members from
index 2f4e845..737ac94 100644 (file)
@@ -43,6 +43,7 @@
    libc functions, no gettext(), no error(), no xmalloc(), no xsetenv().
  */
 
+#define _GL_USE_STDLIB_ALLOC 1
 #include <config.h>
 
 #include <stdio.h>
@@ -58,7 +59,6 @@
 
 /* Use the system functions, not the gnulib overrides in this file.  */
 #undef fprintf
-#undef malloc
 
 /* Return a copy of the filename, with an extra ".bin" at the end.
    More generally, it replaces "${EXEEXT}" at the end with ".bin${EXEEXT}".  */