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:
69c99f3
)
* lib/malloc.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise.
author
Paul Eggert
<eggert@cs.ucla.edu>
Fri, 8 Apr 2011 18:38:38 +0000
(11:38 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Fri, 8 Apr 2011 20:31:44 +0000
(13:31 -0700)
ChangeLog
patch
|
blob
|
history
lib/malloc.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index 3f31057276a1a4abcaf48e6b5153ab87bace896a..a14bb328c98b7d23cef50e9db76501803f1b53ab 100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-11,6
+11,7
@@
* 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.
* 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.
+ * lib/malloc.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/malloc.c
b/lib/malloc.c
index 73c503fac7e73a84f8134e92d9b471d51d345345..ef07f6c4279acef0dc5b6a002ef9713fc5f446bc 100644
(file)
--- a/
lib/malloc.c
+++ b/
lib/malloc.c
@@
-18,6
+18,7
@@
/* written by Jim Meyering and Bruno Haible */
/* written by Jim Meyering and Bruno Haible */
+#define _GL_USE_STDLIB_ALLOC 1
#include <config.h>
/* Only the AC_FUNC_MALLOC macro defines 'malloc' already in config.h. */
#ifdef malloc
#include <config.h>
/* Only the AC_FUNC_MALLOC macro defines 'malloc' already in config.h. */
#ifdef malloc
@@
-28,14
+29,10
@@
# define NEED_MALLOC_GNU 1
#endif
# define NEED_MALLOC_GNU 1
#endif
-/* Specification. */
#include <stdlib.h>
#include <errno.h>
#include <stdlib.h>
#include <errno.h>
-/* Call the system's malloc below. */
-#undef malloc
-
/* Allocate an N-byte block of memory from the heap.
If N is zero, allocate a 1-byte block. */
/* Allocate an N-byte block of memory from the heap.
If N is zero, allocate a 1-byte block. */