Fix sigwait and pthread_kill return values in case of error
* signal.cc (sigwait): Fix return value to reflect errno in case of error according to POSIX. Never return EINTR. * thread.cc (pthread_kill): Return errno if sig_send failed. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
@ -53,3 +53,7 @@ Bug Fixes
|
||||
|
||||
- Fix a potential SEGV on (at least) Wine.
|
||||
Addresses: https://cygwin.com/ml/cygwin/2015-10/msg00018.html
|
||||
|
||||
- Fix sigwait(3) to return errno instead of -1 and never to return with EINTR.
|
||||
|
||||
- Fix pthread_kill(3) to return errno instead of -1.
|
||||
|
Reference in New Issue
Block a user