From 31afac471325a71831c3729e1a5bff6955304460 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Mon, 11 Jan 2010 13:28:37 +0000 Subject: [PATCH] Update MIPS bits/sigaction.h for XPG7. --- ChangeLog.mips | 5 +++++ sysdeps/unix/sysv/linux/mips/bits/sigaction.h | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog.mips b/ChangeLog.mips index 31de4a2..dfc15dc 100644 --- a/ChangeLog.mips +++ b/ChangeLog.mips @@ -1,3 +1,8 @@ +2010-01-11 Joseph Myers + + * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Define + SA_RESTART, SA_NODEFER and SA_RESETHAND if __USE_XOPEN2K8. + 2010-01-10 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define O_DIRECTORY, diff --git a/sysdeps/unix/sysv/linux/mips/bits/sigaction.h b/sysdeps/unix/sysv/linux/mips/bits/sigaction.h index d04e25f..ecddaf6 100644 --- a/sysdeps/unix/sysv/linux/mips/bits/sigaction.h +++ b/sysdeps/unix/sysv/linux/mips/bits/sigaction.h @@ -1,5 +1,5 @@ /* The proper definitions for Linux/MIPS's sigaction. - Copyright (C) 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2003 + Copyright (C) 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2003, 2010 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -64,6 +64,8 @@ struct sigaction three arguments instead of one. */ #if defined __USE_UNIX98 || defined __USE_MISC # define SA_ONSTACK 0x08000000 /* Use signal stack by using `sa_restorer'. */ +#endif +#if defined __USE_UNIX98 || defined __USE_MISC || defined __USE_XOPEN2K8 # define SA_RESETHAND 0x80000000 /* Reset to SIG_DFL on entry to handler. */ # define SA_RESTART 0x10000000 /* Restart syscall on signal return. */ # define SA_NODEFER 0x40000000 /* Don't automatically block the signal when -- 2.7.4