projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ec61a5
)
be stricter: check for both P == 0 and N == 0.
author
Jim Meyering
<jim@meyering.net>
Mon, 3 Nov 1997 05:20:41 +0000
(
05:20
+0000)
committer
Jim Meyering
<jim@meyering.net>
Mon, 3 Nov 1997 05:20:41 +0000
(
05:20
+0000)
m4/realloc.m4
patch
|
blob
|
history
diff --git
a/m4/realloc.m4
b/m4/realloc.m4
index b4afe939d0e6fc04d3f35b7694bd6314a5650c84..431ba5bb8ec5195523319adc229988a000c4eba2 100644
(file)
--- a/
m4/realloc.m4
+++ b/
m4/realloc.m4
@@
-1,7
+1,7
@@
#serial 1
dnl From Jim Meyering.
-dnl Determine whether realloc
accepts 0 as its first argument
.
+dnl Determine whether realloc
works when both arguments are 0
.
dnl If it doesn't, arrange to use the replacement function.
dnl
dnl If you use this macro in a package, you should
@@
-18,7
+18,7
@@
AC_DEFUN(jm_FUNC_REALLOC,
int
main ()
{
- exit (realloc (0,
1
) ? 0 : 1);
+ exit (realloc (0,
0
) ? 0 : 1);
}
],
jm_cv_func_working_realloc=yes,