]> Savannah Git Hosting - gnulib.git/commitdiff
malloc: sync with Autoconf
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 5 Nov 2024 23:55:24 +0000 (15:55 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 5 Nov 2024 23:58:25 +0000 (15:58 -0800)
This fixes a comment problem mentioned by Bruno in:
https://lists.gnu.org/r/bug-gnulib/2024-11/msg00048.html

m4/eealloc.m4
m4/malloc.m4

index 34032259e2474f516ad2efbda033c119e19bf59d..922e675e49f1bb992abdb7648947062b3b841cfc 100644 (file)
@@ -36,7 +36,7 @@ AC_DEFUN([gl_EEREALLOC],
 
 m4_version_prereq([2.73], [], [
 # This is copied from upstream Autoconf here:
-# https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/functions.m4?id=f8c82d292699fbce6d60abb46259a3781578f7fc#n1483
+# https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/functions.m4?id=1f38316f6af7bf63e5e7dd187ff6456e07ad743e#n1483
 # _AC_FUNC_REALLOC_IF(IF-WORKS, IF-NOT[, UNKNOWN-ASSUME])
 # -------------------------------------------------------
 # If 'realloc (0, 0)' returns nonnull, run IF-WORKS, otherwise, IF-NOT.
index bad5ee950178fff0785788da3f5b7c38ef76f3f3..622a16f70b3861e7f947048e76f83915f799fed0 100644 (file)
@@ -8,10 +8,10 @@ dnl This file is offered as-is, without any warranty.
 
 m4_version_prereq([2.73], [], [
 # This is copied from upstream Autoconf here:
-# https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/functions.m4?id=f8c82d292699fbce6d60abb46259a3781578f7fc#n971
+# https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/functions.m4?id=1f38316f6af7bf63e5e7dd187ff6456e07ad743e#n971
 # _AC_FUNC_MALLOC_IF(IF-WORKS, IF-NOT[, UNKNOWN-ASSUME])
 # ------------------------------------------------------
-# If 'malloc (0, 0)' returns nonnull, run IF-WORKS, otherwise, IF-NOT.
+# If 'malloc (0)' returns nonnull, run IF-WORKS, otherwise, IF-NOT.
 # If it is not known whether it works, assume the shell word UNKNOWN-ASSUME,
 # which should end in "yes" or in something else (the latter is the default).
 AC_DEFUN([_AC_FUNC_MALLOC_IF],