From 27dae0113e527aa2a94350d1f624c6e7c81139ce Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 2 Jan 2015 18:30:32 +0000 Subject: 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. --- sysdeps/unix/sysv/linux/mips/bits/sigaction.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps') 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 -- cgit 1.4.1