From 1480094d1fbd0e67c0a47b8bc6e417b039df5811 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sat, 30 Jan 2010 00:21:08 +0000 Subject: [PATCH] Update Alpha bits/sigaction.h for XPG7. --- ChangeLog.alpha | 5 +++++ sysdeps/unix/sysv/linux/alpha/bits/sigaction.h | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog.alpha b/ChangeLog.alpha index ea50ee75136..4eaf02f36d1 100644 --- a/ChangeLog.alpha +++ b/ChangeLog.alpha @@ -1,3 +1,8 @@ +2010-01-12 Matt Turner + + * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Define + SA_RESTART, SA_NODEFER and SA_RESETHAND if __USE_XOPEN2K8. + 2010-01-12 Matt Turner * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECTORY, diff --git a/sysdeps/unix/sysv/linux/alpha/bits/sigaction.h b/sysdeps/unix/sysv/linux/alpha/bits/sigaction.h index 80feb2fa2d3..cdf47588a37 100644 --- a/sysdeps/unix/sysv/linux/alpha/bits/sigaction.h +++ b/sysdeps/unix/sysv/linux/alpha/bits/sigaction.h @@ -1,5 +1,5 @@ /* The proper definitions for Linux/Alpha sigaction. - Copyright (C) 1996, 1997, 1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1999, 2000, 2010 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -54,6 +54,8 @@ struct sigaction three arguments instead of one. */ #if defined __USE_UNIX98 || defined __USE_MISC # define SA_ONSTACK 0x00000001 /* Use signal stack by using `sa_restorer'. */ +#endif +#if defined __USE_UNIX98 || defined __USE_MISC || defined __USE_XOPEN2K8 # define SA_RESTART 0x00000002 /* Restart syscall on signal return. */ # define SA_NODEFER 0x00000008 /* Don't automatically block the signal when its handler is being executed. */ -- 2.47.2