projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Oops, avoid an infinite recursion.
[pspp]
/
lib
/
realloc.c
diff --git
a/lib/realloc.c
b/lib/realloc.c
index a68f144bd36c634c561225ba7aa96af2b7bb2ec4..b1c04508c82fff6c939f724f4b64432227165260 100644
(file)
--- a/
lib/realloc.c
+++ b/
lib/realloc.c
@@
-30,6
+30,10
@@
#include <errno.h>
+/* Call the system's malloc and realloc below. */
+#undef malloc
+#undef realloc
+
/* Change the size of an allocated block of memory P to N bytes,
with error checking. If N is zero, change it to 1. If P is NULL,
use malloc. */