mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-30 12:31:53 +08:00
Make _hurd_raise_signal directly return the error
* hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by __msg_sig_post.
This commit is contained in:
parent
ee0976f7fc
commit
3fe29ca043
@ -1,7 +1,7 @@
|
|||||||
2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
||||||
|
|
||||||
* hurd/hurd-raise.c (_hurd_raise_signal): Set errno to error returned
|
* hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
|
||||||
by __msg_sig_post.
|
__msg_sig_post.
|
||||||
* hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
|
* hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
|
||||||
|
|
||||||
2015-10-09 Joseph Myers <joseph@codesourcery.com>
|
2015-10-09 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
@ -48,7 +48,5 @@ _hurd_raise_signal (struct hurd_sigstate *ss,
|
|||||||
already marked the signal as pending for the particular thread we
|
already marked the signal as pending for the particular thread we
|
||||||
want. Generating the signal with an RPC might deliver it to some
|
want. Generating the signal with an RPC might deliver it to some
|
||||||
other thread. */
|
other thread. */
|
||||||
err = __msg_sig_post (_hurd_msgport, 0, 0, __mach_task_self ());
|
return __msg_sig_post (_hurd_msgport, 0, 0, __mach_task_self ());
|
||||||
|
|
||||||
return __hurd_fail(err);
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user