changeset 34236:e176acb3e94f

* lib/relocwrapper.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise.
author Paul Eggert <eggert@cs.ucla.edu>
date Fri, 08 Apr 2011 11:37:24 -0700
parents bec9436391d4
children 18a643964f09
files ChangeLog lib/relocwrapper.c
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Apr 08 11:35:40 2011 -0700
+++ b/ChangeLog	Fri Apr 08 11:37:24 2011 -0700
@@ -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
--- a/lib/relocwrapper.c	Fri Apr 08 11:35:40 2011 -0700
+++ b/lib/relocwrapper.c	Fri Apr 08 11:37:24 2011 -0700
@@ -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}".  */