[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: |
Thu, 23 Dec 2010 13:30:15 +0100 |
User-agent: |
KMail/1.9.9 |
Hello Joachim,
Please, let's use different mails with different subject for each topic.
Otherwise I cannot keep track which issues have been dealt with, and
the conversation dies down in confusion.
> During compile of gllib:
> NSIG missing, I added it to gllib/spwani.c, in a brute force fashion
> (#define NSIG 32) without really know what I'm doing here...
> "/bin/kill -l | wc -w" returns 33.
NSIG should be larger than any predefined signal value. Since you say
that your system has 33 signals, the value 32 is not right. Probably 33,
34, or 64 is better then. You need to look at the values in your
<signal.h>.
And the definition belongs in <signal.h>.
> SA_RESTART and SA_RESETHAND are missing
> source='test-sigaction.c' object='test-sigaction.o' libtool=no DEPDIR=.deps
> depmode=none /bin/sh ./../build-aux/depcomp cc -DHAVE_CONFIG_H -I.
> -DGNULIB_STRICT_CHECKING=1 -I. -I. -I.. -I./.. -I../gllib -I./../gllib
> -I/usr/local/include -g -Wnowarn -c -o test-sigaction.o test-sigaction.c
> ASSERT ((sa.sa_flags & SA_RESETHAND) == 0);
> ^
> "/usr/local/Floss/gnulib/testdir-posix/gltests/test-sigaction.c", line 67:
> error(114):
> identifier "SA_RESETHAND" is undefined
> ...
> ASSERT ((old_sa.sa_flags & MASK_SA_FLAGS) == 0);
> ^
> "/usr/local/Floss/gnulib/testdir-posix/gltests/test-sigaction.c", line 97:
> error(114):
> identifier "SA_RESTART" is undefined
These two are specified by POSIX
<http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html>.
Does NonStop Kernel really lack these flags, or are they merely available under
different names?
Bruno
- 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 <=
- 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, 2010/12/24
- 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