From ebfccbf7502dfa01d16034b58b27f81038b8aabf Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 31 Oct 2024 17:17:11 -0700 Subject: [PATCH] Say malloc/realloc cache vars can have spaces --- doc/autoconf.texi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 1ff2f47d6..222647b84 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -5390,6 +5390,7 @@ rpl_malloc (size_t n) The result of this macro is cached in the @code{ac_cv_func_malloc_0_nonnull} variable. +The result might contain spaces, e.g., @code{guessing yes}. If you don't want to maintain a @code{malloc.c} file in your package manually, you can instead use the Gnulib module @code{malloc-gnu}. @@ -5497,6 +5498,7 @@ the native @code{realloc} is not used in the main project. See The result of this macro is cached in the @code{ac_cv_func_realloc_0_nonnull} variable. +The result might contain spaces, e.g., @code{guessing yes}. This macro does not check compatibility with glibc @code{realloc (@var{p}, 0)} when @var{p} is non-null, as glibc 1--2.1 behaves differently from glibc -- 2.47.3