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:
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>