aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-01-02 18:30:32 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-01-02 18:30:32 +0000
commit27dae0113e527aa2a94350d1f624c6e7c81139ce (patch)
tree453c24be59658c0c48a0aa9222ee276fe5a242cb /sysdeps/unix
parent172019c0ecbf4714047e4ec233eab37628731d2b (diff)
downloadglibc-27dae0113e527aa2a94350d1f624c6e7c81139ce.tar
glibc-27dae0113e527aa2a94350d1f624c6e7c81139ce.tar.gz
glibc-27dae0113e527aa2a94350d1f624c6e7c81139ce.tar.bz2
glibc-27dae0113e527aa2a94350d1f624c6e7c81139ce.zip
Fix MIPS sa_flags type (bug 17781).
sysdeps/unix/sysv/linux/mips/bits/sigaction.h gives sa_flags type unsigned int, but POSIX says it should be signed int. This patch gives it the correct type (the layout is unchanged, so there are no ABI issues involved). [BZ #17781] * sysdeps/unix/sysv/linux/mips/bits/sigaction.h (struct sigaction): Change type of sa_flags field to int.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/mips/bits/sigaction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/bits/sigaction.h b/sysdeps/unix/sysv/linux/mips/bits/sigaction.h
index e3cc02e282..5263ab210f 100644
--- a/sysdeps/unix/sysv/linux/mips/bits/sigaction.h
+++ b/sysdeps/unix/sysv/linux/mips/bits/sigaction.h
@@ -24,7 +24,7 @@
struct sigaction
{
/* Special flags. */
- unsigned int sa_flags;
+ int sa_flags;
/* Signal handler. */
#ifdef __USE_POSIX199309