aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Liebler <stli@linux.vnet.ibm.com>2014-03-24 16:34:49 +0100
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>2014-03-24 16:59:01 +0100
commita2d86bf1ec3208e838156be8b90e3790946948f4 (patch)
tree0f5738a572fd4599cb5afcc948e394fcfe83bff2
parent78b6eebcf1b33c71ae5028422f500a0e48b20544 (diff)
downloadglibc-a2d86bf1ec3208e838156be8b90e3790946948f4.zip
glibc-a2d86bf1ec3208e838156be8b90e3790946948f4.tar.gz
glibc-a2d86bf1ec3208e838156be8b90e3790946948f4.tar.bz2
S390: Correct type of sa_flags in struct sigaction for POSIX conformance
(BZ #16713).
-rw-r--r--ChangeLog7
-rw-r--r--sysdeps/unix/sysv/linux/s390/bits/sigaction.h3
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 861e989..4da1027 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
+
+ [BZ #16713]
+ * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
+ (__glibc_reserved0): New variable.
+ (sa_flags): Change type to int.
+
2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
* posix/Makefile (before-compile): Use += before-compile instead
diff --git a/sysdeps/unix/sysv/linux/s390/bits/sigaction.h b/sysdeps/unix/sysv/linux/s390/bits/sigaction.h
index f8baf84..b60b8f8 100644
--- a/sysdeps/unix/sysv/linux/s390/bits/sigaction.h
+++ b/sysdeps/unix/sysv/linux/s390/bits/sigaction.h
@@ -43,7 +43,8 @@ struct sigaction
#endif
/* Special flags. */
- unsigned long int sa_flags;
+ int __glibc_reserved0;
+ int sa_flags;
/* Restore handler. */
void (*sa_restorer) (void);