+2021-08-28 Bruno Haible <bruno@clisp.org>
+
+ sigabbrev_np, sigdescr_np: Fix compilation error on Linux/alpha.
+ * lib/sigabbrev_np.c (sigabbrev_np): When SIGINFO and SIGPWR have the
+ same value, give precendence to SIGPWR.
+ * lib/sigdescr_np.c (sigdescr_np): Likewise.
+ * tests/test-sigabbrev_np.c (main): Likewise.
+ * tests/test-sigdescr_np.c (main): Likewise.
+
2021-08-28 Bruno Haible <bruno@clisp.org>
execle, execve, execvpe tests: Fix test failures under qemu user-mode.
case SIGEMT: return "EMT";
#endif
/* Mac OS X, FreeBSD, NetBSD, OpenBSD, Minix */
- #if defined SIGINFO
+ #if defined SIGINFO && SIGINFO != SIGPWR
case SIGINFO: return "INFO";
#endif
/* Linux, Mac OS X, FreeBSD, NetBSD, OpenBSD, Minix, AIX, IRIX, Cygwin */
return "Instruction emulation needed";
#endif
/* Mac OS X, FreeBSD, NetBSD, OpenBSD, Minix */
- #if defined SIGINFO
+ #if defined SIGINFO && SIGINFO != SIGPWR
case SIGINFO:
return "Information request";
#endif
ASSERT (strcmp (sigabbrev_np (SIGEMT), "EMT") == 0);
#endif
/* Mac OS X, FreeBSD, NetBSD, OpenBSD, Minix */
- #ifdef SIGINFO
+ #ifdef SIGINFO && SIGINFO != SIGPWR
ASSERT (strcmp (sigabbrev_np (SIGINFO), "INFO") == 0);
#endif
/* AIX */
ASSERT (strcmp (sigdescr_np (SIGEMT), "Instruction emulation needed") == 0);
#endif
/* Mac OS X, FreeBSD, NetBSD, OpenBSD, Minix */
- #ifdef SIGINFO
+ #ifdef SIGINFO && SIGINFO != SIGPWR
ASSERT (strcmp (sigdescr_np (SIGINFO), "Information request") == 0);
#endif
/* AIX */