Re: [PATCH 11/14] realloc-posix: tune for glibc-like

2024-11-11 Thread Bruno Haible via Gnulib discussion list
On 2024-11-05 I wrote: > This patch fixes it. It is possible that the same bug still occurs when there > are 2 or more gnulib-tool invocations in the scope of the same configure file; > still need to think about this case. Indeed, the problem was not completely fixed: The CI reported a GNU libunis

Re: [PATCH 11/14] realloc-posix: tune for glibc-like

2024-11-05 Thread Bruno Haible via Gnulib discussion list
Paul Eggert wrote: > + * lib/stdlib.in.h (_GL_INLINE_RPL_REALLOC): New macro. > + (rpl_realloc): Define as inline if _GL_INLINE_RPL_REALLOC. > + * m4/realloc.m4 (gl_FUNC_REALLOC_0_NONNULL): > + Set REPLACE_REALLOC_FOR_REALLOC_POSIX=2 instead of 1, While this is a useful optimizatio