This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[patch] make unix98 usage consistent
- To: GNU C Library <libc-alpha at sourceware dot cygnus dot com>
- Subject: [patch] make unix98 usage consistent
- From: Ben Collins <bcollins at debian dot org>
- Date: Sun, 23 Sep 2001 16:44:21 -0400
This just makes things consistent between the generic sigaction.h and
some of the arch specific ones.
2001-09-22 Ben Collins <bcollins@debian.org>
* sparc/bits/sigaction.h: define SA_RESTART and friends when
_UNIX98_SOURCE is defined too. Matches generic/bits/sigaction.h.
* ia64/bits/sigaction.h: Likewise.
* s390/s390-64/bits/sigaction.h: Likewise.
--
.----------=======-=-======-=========-----------=====------------=-=-----.
/ Ben Collins -- SPARC/UltraSPARC Porter -- Debian GNU/Linux \
` bcollins@debian.org -- bcollins@openldap.org -- bcollins@linux.com '
`---=========------=======-------------=-=-----=-===-======-------=--=---'
--- sysdeps/unix/sysv/linux/ia64/bits/sigaction.h~ 2001/07/06 04:56:17 1.2
+++ sysdeps/unix/sysv/linux/ia64/bits/sigaction.h 2001/09/23 20:37:10
@@ -50,7 +50,7 @@
/* Bits in `sa_flags'. */
#define SA_NOCLDSTOP 0x00000001 /* Don't send SIGCHLD when children stop. */
#define SA_SIGINFO 0x00000004
-#ifdef __USE_MISC
+#if defined __USE_UNIX98 || defined __USE_MISC
# define SA_ONSTACK 0x08000000 /* Use signal stack by using `sa_restorer'. */
# define SA_RESTART 0x10000000 /* Restart syscall on signal return. */
# define SA_NODEFER 0x40000000 /* Don't automatically block the signal
--- sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h~ 2001/07/16 06:36:31 1.4
+++ sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h 2001/09/23 20:37:11
@@ -53,7 +53,7 @@
/* Bits in `sa_flags'. */
#define SA_NOCLDSTOP 0x00000001 /* Don't send SIGCHLD when children stop. */
#define SA_SIGINFO 0x00000004
-#ifdef __USE_MISC
+#if defined __USE_UNIX98 || defined __USE_MISC
# define SA_ONSTACK 0x08000000 /* Use signal stack by using `sa_restorer'. */
# define SA_RESTART 0x10000000 /* Restart syscall on signal return. */
# define SA_NODEFER 0x40000000 /* Don't automatically block the signal
--- sysdeps/unix/sysv/linux/sparc/bits/sigaction.h~ 2001/07/06 04:56:21 1.10
+++ sysdeps/unix/sysv/linux/sparc/bits/sigaction.h 2001/09/23 20:37:12
@@ -56,7 +56,7 @@
#define SA_NOCLDWAIT 0x00000100 /* Don't create zombie on child death. */
#define SA_SIGINFO 0x00000200 /* Invoke signal-catching function with
three arguments instead of one. */
-#ifdef __USE_MISC
+#if defined __USE_UNIX98 || defined __USE_MISC
# define SA_ONSTACK 0x00000001 /* Use signal stack by using `sa_restorer'. */
# define SA_RESTART 0x00000002 /* Restart syscall on signal return. */
# define SA_INTERRUPT 0x00000010 /* Historical no-op. */