]> Savannah Git Hosting - gnulib.git/commitdiff
Add ChangeLog entry for last commit.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 15 Aug 2024 04:01:18 +0000 (06:01 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 15 Aug 2024 04:01:18 +0000 (06:01 +0200)
ChangeLog

index fe16aa1787335826a1051b7deb0db97cdf9c02b2..f664725fda673b5c39d04567f890dd74cdf88e75 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
 2024-08-14  Paul Eggert  <eggert@cs.ucla.edu>
 
+       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  <bruno@clisp.org>