From: Matt Turner Date: Sat, 30 Jan 2010 00:21:08 +0000 (+0000) Subject: Update Alpha bits/sigaction.h for XPG7. X-Git-Tag: glibc-2.16-ports-before-merge~533 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1480094d1fbd0e67c0a47b8bc6e417b039df5811;p=thirdparty%2Fglibc.git Update Alpha bits/sigaction.h for XPG7. --- 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. */