This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.25-545-g9649350


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  9649350d2ee47fae00794d57e2526aa5d67d900e (commit)
      from  03feacb562650cc3d51e9e76cd97e80e648aad84 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=9649350d2ee47fae00794d57e2526aa5d67d900e

commit 9649350d2ee47fae00794d57e2526aa5d67d900e
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Jun 21 17:35:24 2017 +0000

    Fix tile SA_* conditions for POSIX.1:2008 (bug 21622).
    
    As shown by conform/ tests once the remaining namespace issues are
    fixed, the tile bits/sigaction.h fails to declare SA_RESETHAND,
    SA_RESTART and SA_NODEFER for non-XSI POSIX.1:2008 as other versions
    do.  Those constants were moved from XSI to Base in the 2008 edition
    of POSIX.  This patch fixes the conditions to match other versions of
    this header.
    
    Tested (compilation only) for tilegx-linux-gnu with
    build-many-glibcs.py.
    
    	[BZ #21622]
    	* sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
    	Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
    	__USE_MISC].
    	(SA_NODEFER): Likewise.
    	(SA_RESETHAND): Likewise.

diff --git a/ChangeLog b/ChangeLog
index a0d07fd..d2dd7d4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2017-06-21  Joseph Myers  <joseph@codesourcery.com>
+
+	[BZ #21622]
+	* sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
+	Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
+	__USE_MISC].
+	(SA_NODEFER): Likewise.
+	(SA_RESETHAND): Likewise.
+
 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* elf/dl-tunables.list (glibc.tune.ifunc): Removed.
diff --git a/sysdeps/unix/sysv/linux/tile/bits/sigaction.h b/sysdeps/unix/sysv/linux/tile/bits/sigaction.h
index 5a9ae28..6b8c1d7 100644
--- a/sysdeps/unix/sysv/linux/tile/bits/sigaction.h
+++ b/sysdeps/unix/sysv/linux/tile/bits/sigaction.h
@@ -57,6 +57,8 @@ struct sigaction
 #if defined __USE_UNIX98 || defined __USE_MISC
 # define SA_NOPTRACE  0x02000000 /* Don't ptrace this signal. */
 # define SA_ONSTACK   0x08000000 /* Use signal stack by using `sa_restorer'. */
+#endif
+#if defined __USE_UNIX98 || defined __USE_XOPEN2K8
 # define SA_RESTART   0x10000000 /* Restart syscall on signal return.  */
 # define SA_NODEFER   0x40000000 /* Don't automatically block the signal when
 				    its handler is being executed.  */

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                     |    9 +++++++++
 sysdeps/unix/sysv/linux/tile/bits/sigaction.h |    2 ++
 2 files changed, 11 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]