[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: <signal.h> on HP-NonStop
From: |
Bruno Haible |
Subject: |
Re: <signal.h> on HP-NonStop |
Date: |
Fri, 24 Dec 2010 11:03:32 +0100 |
User-agent: |
KMail/1.9.9 |
Joachim Schmitz wrote:
> OK, the highest number for any SIG<something> is 31, so NSIG should really be
> 32.
Thanks for this info. I'm adding a definition of NSIG for your platform.
2010-12-24 Bruno Haible <address@hidden>
signal: Define NSIG.
* lib/signal.in.h (NSIG): Define to 32 on NonStop Kernel.
* tests/test-signal.c (nsig): New variable.
Reported by Joachim Schmitz <address@hidden>.
--- lib/signal.in.h.orig Fri Dec 24 11:00:53 2010
+++ lib/signal.in.h Fri Dec 24 10:56:42 2010
@@ -72,6 +72,14 @@
#endif
+/* Maximum signal number + 1. */
+#ifndef NSIG
+# if defined __TANDEM
+# define NSIG 32
+# endif
+#endif
+
+
#if @GNULIB_SIGPROCMASK@
# if address@hidden@
--- tests/test-signal.c.orig Fri Dec 24 11:00:53 2010
+++ tests/test-signal.c Fri Dec 24 10:51:26 2010
@@ -35,6 +35,9 @@
#endif
} s;
+/* Check that NSIG is defined. */
+int nsig = NSIG;
+
int
main (void)
{
- Re: [bash-testers] Bash-4.2-beta available for FTP, Eric Blake, 2010/12/21
- Re: [bash-testers] Bash-4.2-beta available for FTP, Bruno Haible, 2010/12/21
- RE: [bash-testers] Bash-4.2-beta available for FTP, Joachim Schmitz, 2010/12/22
- Re: porting stdioext to HP-NonStop, Bruno Haible, 2010/12/22
- RE: porting stdioext to HP-NonStop, Joachim Schmitz, 2010/12/22
- Re: porting stdioext to HP-NonStop, Bruno Haible, 2010/12/22
- RE: porting stdioext to HP-NonStop, Joachim Schmitz, 2010/12/23
- Re: <signal.h> on HP-NonStop, Bruno Haible, 2010/12/23
- RE: <signal.h> on HP-NonStop, Joachim Schmitz, 2010/12/23
- Re: <signal.h> on HP-NonStop, Bruno Haible, 2010/12/24
- Re: <signal.h> on HP-NonStop,
Bruno Haible <=
- RE: <signal.h> on HP-NonStop, Joachim Schmitz, 2010/12/23
- list protocol [was: <signal.h> on HP-NonStop], Eric Blake, 2010/12/23
- Re: porting alignof to HP-NonStop, Bruno Haible, 2010/12/23
- RE: porting alignof to HP-NonStop, Joachim Schmitz, 2010/12/23
- Re: porting alignof to HP-NonStop, Bruno Haible, 2010/12/24
- Re: alphasort on HP-NonStop, Bruno Haible, 2010/12/23
- RE: alphasort on HP-NonStop, Joachim Schmitz, 2010/12/23
- RE: alphasort on HP-NonStop, Joachim Schmitz, 2010/12/24
- Re: alphasort on HP-NonStop, Bruno Haible, 2010/12/24
- RE: alphasort on HP-NonStop, Joachim Schmitz, 2010/12/24