GNU C Library master sources branch, master, updated. glibc-2.12-178-gaf32596

drepper@sourceware.org drepper@sourceware.org
Mon Oct 11 13:11:00 GMT 2010


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  af3259695d0330dad913eae8f03f23062ea5f0f7 (commit)
      from  67a67b950be9741a4cf1ff3e75572204b06bec2e (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=af3259695d0330dad913eae8f03f23062ea5f0f7

commit af3259695d0330dad913eae8f03f23062ea5f0f7
Author: Ulrich Drepper <drepper@gmail.com>
Date:   Mon Oct 11 09:10:41 2010 -0400

    Unify psiginfo output.

diff --git a/ChangeLog b/ChangeLog
index 55ca6b4..a969d6d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-10-11  Ulrich Drepper  <drepper@gmail.com>
+
+	[BZ #12108]
+	* stdio-common/psiginfo.c (psiginfo): Terminate all strings with
+	newline.
+
 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
 
 	* string/bug-strstr1.c: New file.
diff --git a/NEWS b/NEWS
index 0870bdd..5431c2d 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,4 @@
-GNU C Library NEWS -- history of user-visible changes.  2010-10-3
+GNU C Library NEWS -- history of user-visible changes.  2010-10-11
 Copyright (C) 1992-2009, 2010 Free Software Foundation, Inc.
 See the end for copying conditions.
 
@@ -10,7 +10,7 @@ Version 2.13
 * The following bugs are resolved with this release:
 
   7066, 10851, 11611, 11640, 11701, 11840, 11856, 11883, 11903, 11904,
-  11968, 11979, 12005, 12037, 12067, 12077
+  11968, 11979, 12005, 12037, 12067, 12077, 12092, 12108
 
 * New Linux interfaces: prlimit, prlimit64, fanotify_init, fanotify_mark
 
diff --git a/stdio-common/psiginfo.c b/stdio-common/psiginfo.c
index 90cdf05..49b86ec 100644
--- a/stdio-common/psiginfo.c
+++ b/stdio-common/psiginfo.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2009, 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
@@ -165,14 +165,15 @@ Signal generated by the completion of an I/O request");
 
       if (pinfo->si_signo == SIGILL || pinfo->si_signo == SIGFPE
 	  || pinfo->si_signo == SIGSEGV || pinfo->si_signo == SIGBUS)
-	fprintf (fp, "[%p])", pinfo->si_addr);
+	fprintf (fp, "[%p])\n", pinfo->si_addr);
       else if (pinfo->si_signo == SIGCHLD)
-	fprintf (fp, "%ld %d %ld)", (long int) pinfo->si_pid, pinfo->si_status,
+	fprintf (fp, "%ld %d %ld)\n",
+		 (long int) pinfo->si_pid, pinfo->si_status,
 		 (long int) pinfo->si_uid);
       else if (pinfo->si_signo == SIGPOLL)
-	fprintf (fp, "%ld)", (long int) pinfo->si_band);
+	fprintf (fp, "%ld)\n", (long int) pinfo->si_band);
       else
-	fprintf (fp, "%ld %ld)",
+	fprintf (fp, "%ld %ld)\n",
 		 (long int) pinfo->si_pid, (long int) pinfo->si_uid);
     }
   else

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

Summary of changes:
 ChangeLog               |    6 ++++++
 NEWS                    |    4 ++--
 stdio-common/psiginfo.c |   11 ++++++-----
 3 files changed, 14 insertions(+), 7 deletions(-)


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



More information about the Glibc-cvs mailing list