GNU C Library master sources branch, master, updated. glibc-2.13-18-gf75286c

roland@sourceware.org roland@sourceware.org
Wed Feb 16 22:42:00 GMT 2011


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  f75286c6968af12697f63ca60b2599478fd2c8f1 (commit)
      from  c1d0e639a95d6d3d3f1c1f70cf97d596bd5a24ec (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://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=f75286c6968af12697f63ca60b2599478fd2c8f1

commit f75286c6968af12697f63ca60b2599478fd2c8f1
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Wed Feb 16 14:41:58 2011 -0800

    Conditionalize use of SIGRTMIN in psiginfo.

diff --git a/ChangeLog b/ChangeLog
index 550f22a..3d890b8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+	* stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
+	SIGRTMIN and SIGRTMAX and print information in that case only when
+	SIGRTMIN is defined.
+
 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
 
 	* stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
diff --git a/stdio-common/psiginfo.c b/stdio-common/psiginfo.c
index 627c21c..a10780d 100644
--- a/stdio-common/psiginfo.c
+++ b/stdio-common/psiginfo.c
@@ -86,8 +86,12 @@ psiginfo (const siginfo_t *pinfo, const char *s)
   const char *desc;
   if (pinfo->si_signo >= 0 && pinfo->si_signo < NSIG
       && ((desc = INTUSE(_sys_siglist)[pinfo->si_signo]) != NULL
-	  || (pinfo->si_signo >= SIGRTMIN && pinfo->si_signo < SIGRTMAX)))
+#ifdef SIGRTMIN
+	  || (pinfo->si_signo >= SIGRTMIN && pinfo->si_signo < SIGRTMAX)
+#endif
+	 ))
     {
+#ifdef SIGRTMIN
       if (desc == NULL)
 	{
 	  if (pinfo->si_signo - SIGRTMIN < SIGRTMAX - pinfo->si_signo)
@@ -106,6 +110,7 @@ psiginfo (const siginfo_t *pinfo, const char *s)
 	    }
 	}
       else
+#endif
 	fprintf (fp, "%s (", _(desc));
 
       const char *base = NULL;

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

Summary of changes:
 ChangeLog               |    6 ++++++
 stdio-common/psiginfo.c |    7 ++++++-
 2 files changed, 12 insertions(+), 1 deletions(-)


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



More information about the Glibc-cvs mailing list