From: Paul Eggert Date: Tue, 5 Nov 2024 23:55:24 +0000 (-0800) Subject: malloc: sync with Autoconf X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=353a2f88db93c38ac269f3d99ba05e08646c2014;p=gnulib.git malloc: sync with Autoconf This fixes a comment problem mentioned by Bruno in: https://lists.gnu.org/r/bug-gnulib/2024-11/msg00048.html --- diff --git a/m4/eealloc.m4 b/m4/eealloc.m4 index 34032259e2..922e675e49 100644 --- a/m4/eealloc.m4 +++ b/m4/eealloc.m4 @@ -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. diff --git a/m4/malloc.m4 b/m4/malloc.m4 index bad5ee9501..622a16f70b 100644 --- a/m4/malloc.m4 +++ b/m4/malloc.m4 @@ -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],