+2025-01-24 Collin Funk <collin.funk1@gmail.com>
+
+ strerrorname_np: Work around a bug on Solaris 11 OmniOS.
+ * m4/strerrorname_np.m4 (gl_CHECK_STRERRORNAME_NP): Test if
+ strerrorname_np returns NULL when given ERESTART or ESTRPIPE.
+ * doc/glibc-functions/strerrorname_np.texi: Document the bug.
+
2025-01-24 Bruno Haible <bruno@clisp.org>
tests: Fix a few compilation errors on Solaris 11 OmniOS with gcc 14.
@c https://sourceware.org/bugzilla/show_bug.cgi?id=26555
@c https://sourceware.org/bugzilla/show_bug.cgi?id=29545
@c https://sourceware.org/bugzilla/show_bug.cgi?id=31080
-glibc 2.37.
+@c https://www.illumos.org/issues/17134
+glibc 2.37, Solaris 11 OmniOS.
@end itemize
Portability problems not fixed by Gnulib:
# strerrorname_np.m4
-# serial 7
+# serial 8
dnl Copyright (C) 2020-2025 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl In glibc 2.37, strerrorname_np returns NULL for ENOSYM and
dnl EREMOTERELEASE on hppa platforms.
dnl See <https://sourceware.org/bugzilla/show_bug.cgi?id=31080>.
+ dnl In Solaris 11 OmniOS, strerrorname_np returns NULL for ERESTART
+ dnl and ESTRPIPE.
+ dnl see <https://www.illumos.org/issues/17134>.
AC_CACHE_CHECK([whether strerrorname_np works],
[gl_cv_func_strerrorname_np_works],
[AC_RUN_IFELSE(
#ifdef ENOSYM
|| strerrorname_np (ENOSYM) == NULL
#endif
+ #ifdef ERESTART
+ || strerrorname_np (ERESTART) == NULL
+ #endif
+ #ifdef ESTRPIPE
+ || strerrorname_np (ESTRPIPE) == NULL
+ #endif
;
]])],
[gl_cv_func_strerrorname_np_works=yes],