From f3eeabad2b3645fdbfbf60449d93e978b7abcfb8 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 15 Aug 2024 06:01:18 +0200 Subject: [PATCH] Add ChangeLog entry for last commit. --- ChangeLog | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fe16aa1787..f664725fda 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,15 @@ 2024-08-14 Paul Eggert + verror: allow library name-spacing of verror + Problem reported by Bruno Haible in: + https://lists.gnu.org/r/bug-gnulib/2024-08/msg00085.html + * lib/error.c (verror, verror_at_line) [!_LIBC]: #undef only if + the corresponding GNULIB_defined_... macros are defined. + * lib/error.in.h (verror, verror_with_line): + Don't define as macros if they are already defined, or if + _GL_NO_INLINE_ERROR is defined. This may lose some niceties with GCC + warnings, but the code’s valid. + error: merge from glibc and with verror * lib/error.c: Merge changes since 2018 from glibc. ----- The following changes are taken from glibc: @@ -34,7 +44,7 @@ This mimics what glibc is doing nowadays. * lib/error.in.h (error, error_at_line): * lib/verror.h (verror, verror_at_line): - Declare with _GL_ATTRIBUTE_CODE. + Declare with _GL_ATTRIBUTE_COLD. 2024-08-14 Bruno Haible -- 2.39.5