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.20-214-g7f0dfae


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  7f0dfae0f26b3f72313ef255b86962a114ec7eed (commit)
      from  2f531bbb7b0458a303e8969f1e830467ca684443 (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=7f0dfae0f26b3f72313ef255b86962a114ec7eed

commit 7f0dfae0f26b3f72313ef255b86962a114ec7eed
Author: Roland McGrath <roland@hack.frob.com>
Date:   Thu Nov 20 13:58:03 2014 -0800

    NPTL: Use __libc_fatal in unwind.c.

diff --git a/ChangeLog b/ChangeLog
index d6a7c77..3f0cbbc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2014-11-20  Roland McGrath  <roland@hack.frob.com>
 
+	* nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
+
 	* nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
 	PTHREAD_CANCEL_ASYNCHRONOUS.
 	* nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
diff --git a/nptl/unwind.c b/nptl/unwind.c
index a71015a..f109019 100644
--- a/nptl/unwind.c
+++ b/nptl/unwind.c
@@ -18,6 +18,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <setjmp.h>
+#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
@@ -103,11 +104,7 @@ unwind_cleanup (_Unwind_Reason_Code reason, struct _Unwind_Exception *exc)
 {
   /* When we get here a C++ catch block didn't rethrow the object.  We
      cannot handle this case and therefore abort.  */
-# define STR_N_LEN(str) str, strlen (str)
-  INTERNAL_SYSCALL_DECL (err);
-  INTERNAL_SYSCALL (write, err, 3, STDERR_FILENO,
-		    STR_N_LEN ("FATAL: exception not rethrown\n"));
-  abort ();
+  __libc_fatal ("FATAL: exception not rethrown\n");
 }
 
 #endif	/* have forced unwind */

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

Summary of changes:
 ChangeLog     |    2 ++
 nptl/unwind.c |    7 ++-----
 2 files changed, 4 insertions(+), 5 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]