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.21-637-g4248691


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  42486917fd365275ced60dc2a1c5ca5ed7a0b8f3 (commit)
      from  f8c3be3f23ffc2f5853cb57277c56987c18d0ab6 (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=42486917fd365275ced60dc2a1c5ca5ed7a0b8f3

commit 42486917fd365275ced60dc2a1c5ca5ed7a0b8f3
Author: Roland McGrath <roland@hack.frob.com>
Date:   Thu Jul 23 16:44:47 2015 -0700

    Add SIGWINCH to generic <bits/signum.h>.

diff --git a/ChangeLog b/ChangeLog
index 3400f7b..a0edc1b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2015-07-23  Roland McGrath  <roland@hack.frob.com>
 
+	* bits/signum.h: Update comments to mention 1003.1-2013 too.
+	(SIGWINCH): New macro.
+
 	* sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
 	* sysdeps/arm/nacl/libc.abilist: Add it.
 
diff --git a/bits/signum.h b/bits/signum.h
index a07a9b4..e6deefd 100644
--- a/bits/signum.h
+++ b/bits/signum.h
@@ -28,9 +28,13 @@
 # define SIG_HOLD ((__sighandler_t)  2)	/* Add signal to hold mask.  */
 #endif
 
-/* We define here all the signal names listed in POSIX (1003.1-2008).
+/* We define here all the signal names listed in POSIX (1003.1-2008);
+   as of 1003.1-2013, no additional signals have been added by POSIX.
+   We also define here signal names that historically exist in every
+   real-world POSIX variant (e.g. SIGWINCH).
+
    Signals in the 1-15 range are defined with their historical numbers.
-   For other signals specified by POSIX, we use the BSD numbers.  */
+   For other signals, we use the BSD numbers.  */
 
 /* ISO C99 signals.  */
 #define	SIGINT		2	/* Interactive attention signal.  */
@@ -50,7 +54,7 @@
 #define	SIGPIPE		13	/* Broken pipe.  */
 #define	SIGALRM		14	/* Alarm clock.  */
 
-/* New(er) POSIX signals (1003.1-2008).  */
+/* New(er) POSIX signals (1003.1-2008, 1003.1-2013).  */
 #define	SIGURG		16 /* High bandwidth data is available at a socket.  */
 #define	SIGSTOP		17	/* Stopped (signal).  */
 #define	SIGTSTP		18	/* Stopped.  */
@@ -67,10 +71,14 @@
 #define	SIGUSR1		30	/* User-defined signal 1.  */
 #define	SIGUSR2		31	/* User-defined signal 2.  */
 
+/* Nonstandard signals found in all modern POSIX systems
+   (including both BSD and Linux).  */
+#define	SIGWINCH	28	/* Window size change (4.3 BSD, Sun).  */
+
 #define	_NSIG		32
 
 /* Archaic names for compatibility. */
-#define	SIGIOT		SIGABRT	/* IOT instruction, abort() on a PDP11 */
+#define	SIGIOT		SIGABRT	/* IOT instruction, abort() on a PDP-11.  */
 #define	SIGCLD		SIGCHLD	/* Old System V name */
 
 #endif	/* <signal.h> included.  */

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

Summary of changes:
 ChangeLog     |    3 +++
 bits/signum.h |   16 ++++++++++++----
 2 files changed, 15 insertions(+), 4 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]