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.22-364-g3fe29ca


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  3fe29ca043a310aa6987f8c3432527d4634da451 (commit)
      from  ee0976f7fc61f43a7140e100b36be1e05a965c67 (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=3fe29ca043a310aa6987f8c3432527d4634da451

commit 3fe29ca043a310aa6987f8c3432527d4634da451
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sat Oct 10 16:31:43 2015 +0200

    Make _hurd_raise_signal directly return the error
    
    	* hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
    	__msg_sig_post.

diff --git a/ChangeLog b/ChangeLog
index b1dd4f0..127843a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,7 @@
 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
 
-	* hurd/hurd-raise.c (_hurd_raise_signal): Set errno to error returned
-	by __msg_sig_post.
+	* hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
+	__msg_sig_post.
 	* hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
 
 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
diff --git a/hurd/hurd-raise.c b/hurd/hurd-raise.c
index 3ae6b57..07c8810 100644
--- a/hurd/hurd-raise.c
+++ b/hurd/hurd-raise.c
@@ -48,7 +48,5 @@ _hurd_raise_signal (struct hurd_sigstate *ss,
      already marked the signal as pending for the particular thread we
      want.  Generating the signal with an RPC might deliver it to some
      other thread.  */
-  err = __msg_sig_post (_hurd_msgport, 0, 0, __mach_task_self ());
-
-  return __hurd_fail(err);
+  return __msg_sig_post (_hurd_msgport, 0, 0, __mach_task_self ());
 }

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

Summary of changes:
 ChangeLog         |    4 ++--
 hurd/hurd-raise.c |    4 +---
 2 files changed, 3 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]