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-399-gc4c96f9


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  c4c96f92f76dbc03a04a0e5005bf0be6f8dd4138 (commit)
      from  7553131847151d04d58a02300673f13d73861cbb (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=c4c96f92f76dbc03a04a0e5005bf0be6f8dd4138

commit c4c96f92f76dbc03a04a0e5005bf0be6f8dd4138
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Mon Jun 5 10:19:03 2017 +0000

    Define SIG_HOLD for XPG4 (bug 21538).
    
    Various bits/signum.h headers define SIG_HOLD if __USE_UNIX98.  That
    should be __USE_XOPEN, as this macro is in XPG4.  This patch fixes the
    conditionals accordingly.  Because of other header bugs, this does not
    allow any XFAILs to be removed (however, the XPG4/signal.h/conform
    XFAIL only depends on a few such straightforward header bugs, not on
    the more complicated to fix ucontext_t issues, as ucontext_t isn't
    included in signal.h in XPG4).
    
    Tested for x86_64.
    
    	[BZ #21538]
    	* bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
    	[__USE_UNIX98].
    	* sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
    	* sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
    	Likewise.
    	* sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
    	* sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
    	* sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
    	* sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
    	Likewise.

diff --git a/ChangeLog b/ChangeLog
index 6cc3067..ff791f7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,17 @@
 2017-06-05  Joseph Myers  <joseph@codesourcery.com>
 
+	[BZ #21538]
+	* bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
+	[__USE_UNIX98].
+	* sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
+	* sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
+	Likewise.
+	* sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
+	* sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
+	* sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
+	* sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
+	Likewise.
+
 	[BZ #21517]
 	* bits/types/stack_t.h (stack_t): Remove struct tag.
 	* sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
diff --git a/bits/signum.h b/bits/signum.h
index 2f6a124..cfbc7ac 100644
--- a/bits/signum.h
+++ b/bits/signum.h
@@ -24,7 +24,7 @@
 #define	SIG_DFL	 ((__sighandler_t)  0)	/* Default action.  */
 #define	SIG_IGN	 ((__sighandler_t)  1)	/* Ignore signal.  */
 
-#ifdef __USE_UNIX98
+#ifdef __USE_XOPEN
 # define SIG_HOLD ((__sighandler_t)  2)	/* Add signal to hold mask.  */
 #endif
 
diff --git a/sysdeps/unix/bsd/bits/signum.h b/sysdeps/unix/bsd/bits/signum.h
index b080356..268c24a 100644
--- a/sysdeps/unix/bsd/bits/signum.h
+++ b/sysdeps/unix/bsd/bits/signum.h
@@ -26,7 +26,7 @@
 #define	SIG_DFL	((__sighandler_t) 0) /* Default action.  */
 #define	SIG_IGN	((__sighandler_t) 1) /* Ignore signal.  */
 
-#ifdef __USE_UNIX98
+#ifdef __USE_XOPEN
 # define SIG_HOLD      ((__sighandler_t) 2)    /* Add signal to hold mask.  */
 #endif
 
diff --git a/sysdeps/unix/sysv/linux/alpha/bits/signum.h b/sysdeps/unix/sysv/linux/alpha/bits/signum.h
index ed9a107..e5cc521 100644
--- a/sysdeps/unix/sysv/linux/alpha/bits/signum.h
+++ b/sysdeps/unix/sysv/linux/alpha/bits/signum.h
@@ -23,7 +23,7 @@
 #define SIG_DFL ((__sighandler_t) 0) /* Default action.  */
 #define SIG_IGN ((__sighandler_t) 1) /* Ignore signal.  */
 
-#ifdef __USE_UNIX98
+#ifdef __USE_XOPEN
 # define SIG_HOLD	((__sighandler_t) 2)	/* Add signal to hold mask.  */
 #endif
 
diff --git a/sysdeps/unix/sysv/linux/bits/signum.h b/sysdeps/unix/sysv/linux/bits/signum.h
index 43ded30..e30efea 100644
--- a/sysdeps/unix/sysv/linux/bits/signum.h
+++ b/sysdeps/unix/sysv/linux/bits/signum.h
@@ -23,7 +23,7 @@
 #define SIG_DFL	((__sighandler_t) 0)		/* Default action.  */
 #define SIG_IGN	((__sighandler_t) 1)		/* Ignore signal.  */
 
-#ifdef __USE_UNIX98
+#ifdef __USE_XOPEN
 # define SIG_HOLD	((__sighandler_t) 2)	/* Add signal to hold mask.  */
 #endif
 
diff --git a/sysdeps/unix/sysv/linux/hppa/bits/signum.h b/sysdeps/unix/sysv/linux/hppa/bits/signum.h
index 81c6d39..20c0b60 100644
--- a/sysdeps/unix/sysv/linux/hppa/bits/signum.h
+++ b/sysdeps/unix/sysv/linux/hppa/bits/signum.h
@@ -23,7 +23,7 @@
 #define SIG_DFL	((__sighandler_t) 0)		/* Default action.  */
 #define SIG_IGN	((__sighandler_t) 1)		/* Ignore signal.  */
 
-#ifdef __USE_UNIX98
+#ifdef __USE_XOPEN
 # define SIG_HOLD	((__sighandler_t) 2)	/* Add signal to hold mask.  */
 #endif
 
diff --git a/sysdeps/unix/sysv/linux/mips/bits/signum.h b/sysdeps/unix/sysv/linux/mips/bits/signum.h
index bf8ceaf..6c31e01 100644
--- a/sysdeps/unix/sysv/linux/mips/bits/signum.h
+++ b/sysdeps/unix/sysv/linux/mips/bits/signum.h
@@ -23,7 +23,7 @@
 #define SIG_DFL ((__sighandler_t) 0)		/* Default action.  */
 #define SIG_IGN ((__sighandler_t) 1)		/* Ignore signal.  */
 
-#ifdef __USE_UNIX98
+#ifdef __USE_XOPEN
 # define SIG_HOLD	((__sighandler_t) 2)	/* Add signal to hold mask.  */
 #endif
 
diff --git a/sysdeps/unix/sysv/linux/sparc/bits/signum.h b/sysdeps/unix/sysv/linux/sparc/bits/signum.h
index 4de1a5b..a0c5be5 100644
--- a/sysdeps/unix/sysv/linux/sparc/bits/signum.h
+++ b/sysdeps/unix/sysv/linux/sparc/bits/signum.h
@@ -23,7 +23,7 @@
 #define SIG_DFL ((__sighandler_t) 0) /* Default action.  */
 #define SIG_IGN ((__sighandler_t) 1) /* Ignore signal.  */
 
-#ifdef __USE_UNIX98
+#ifdef __USE_XOPEN
 # define SIG_HOLD	((__sighandler_t) 2)	/* Add signal to hold mask.  */
 #endif
 

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

Summary of changes:
 ChangeLog                                   |   12 ++++++++++++
 bits/signum.h                               |    2 +-
 sysdeps/unix/bsd/bits/signum.h              |    2 +-
 sysdeps/unix/sysv/linux/alpha/bits/signum.h |    2 +-
 sysdeps/unix/sysv/linux/bits/signum.h       |    2 +-
 sysdeps/unix/sysv/linux/hppa/bits/signum.h  |    2 +-
 sysdeps/unix/sysv/linux/mips/bits/signum.h  |    2 +-
 sysdeps/unix/sysv/linux/sparc/bits/signum.h |    2 +-
 8 files changed, 19 insertions(+), 7 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]