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

index 1a413bc..753536e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,7 @@
        * lib/progreloc.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise.
        * 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.
 
        careadlinkat: rename members to avoid problem
        * lib/allocator.h (struct allocator): Rename members from
index cbff85f..a7bbd99 100644 (file)
@@ -25,6 +25,7 @@
 # define _GNU_SOURCE 1
 #endif
 
+#define _GL_USE_STDLIB_ALLOC 1
 #include <config.h>
 
 /* Specification.  */
@@ -86,9 +87,6 @@
 # define FILE_SYSTEM_PREFIX_LEN(P) 0
 #endif
 
-/* Use the system functions, not the gnulib overrides in this file.  */
-#undef malloc
-
 /* Original installation prefix.  */
 static char *orig_prefix;
 static size_t orig_prefix_len;