[PATCH/committed] ia64: sifaction.h: change sa_flags to an int

Mike Frysinger vapier@gentoo.org
Wed Jul 22 02:41:00 GMT 2015


This fixes the conform test for the sigaction.h header and makes it match
all the other arches.
---
 ChangeLog                                     | 6 ++++++
 sysdeps/unix/sysv/linux/ia64/bits/sigaction.h | 3 ++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 82d6ac8..1addad6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
 
+	* sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
+	Change sa_flags from a long to an int and add __glibc_reserved0 before
+	it for padding.
+
+2015-07-22  Mike Frysinger  <vapier@gentoo.org>
+
 	* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
 	anonymous by deleting "siginfo" name.
 
diff --git a/sysdeps/unix/sysv/linux/ia64/bits/sigaction.h b/sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
index 2f64f19..46d03fa 100644
--- a/sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
+++ b/sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
@@ -40,7 +40,8 @@ struct sigaction
 #endif
 
     /* Special flags.  */
-    unsigned long int sa_flags;
+    int __glibc_reserved0;
+    int sa_flags;
 
     /* Additional set of signals to be blocked.  */
     __sigset_t sa_mask;
-- 
2.4.4



More information about the Libc-alpha mailing list