projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
9df573c
)
* lib/progreloc.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise.
author
Paul Eggert
<eggert@cs.ucla.edu>
Fri, 8 Apr 2011 18:30:47 +0000
(11:30 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Fri, 8 Apr 2011 20:31:41 +0000
(13:31 -0700)
ChangeLog
patch
|
blob
|
history
lib/progreloc.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index deb8c129325a3edc78b4a633f4e830cd0c538ec0..34f613342270c76b00dc9a3f9a8a6b9d09e83b60 100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-6,6
+6,7
@@
* 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.
* 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.
+ * lib/progreloc.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise.
careadlinkat: rename members to avoid problem
* lib/allocator.h (struct allocator): Rename members from
careadlinkat: rename members to avoid problem
* lib/allocator.h (struct allocator): Rename members from
diff --git
a/lib/progreloc.c
b/lib/progreloc.c
index 0769c5e1cb98b00dd825f66d275a32da3f8caa11..4a3fa48be48e25f7891745617369e223af03ac8e 100644
(file)
--- a/
lib/progreloc.c
+++ b/
lib/progreloc.c
@@
-16,6
+16,7
@@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#define _GL_USE_STDLIB_ALLOC 1
#include <config.h>
/* Specification. */
#include <config.h>
/* Specification. */
@@
-94,7
+95,6
@@
extern char * canonicalize_file_name (const char *name);
#undef close
/* Use the system functions, not the gnulib overrides in this file. */
#undef close
/* Use the system functions, not the gnulib overrides in this file. */
-#undef malloc
#undef sprintf
#undef set_program_name
#undef sprintf
#undef set_program_name