kamil e4e4859de1 Adjust the error return value of pthread_sigmask for !libpthread usage
Instead of returning -1, return errno on error.

Catch up after the fix in libpthread by Andrew Doran in 2008
in lib/libpthread/pthread_misc.c r.1.9.

It's an open question whether this function shall be used without linked
in the POSIX thread library.

Detected by Bruno Haible (GNU) and documented in gnulib in commit
"pthread_sigmask: Avoid test failure on NetBSD 8.0. " r. 4d16a83b0c1fcb6c.
2020-01-14 18:18:59 +00:00
..
2019-12-23 17:51:57 +00:00
2019-12-27 10:13:59 +00:00
2019-12-27 09:41:48 +00:00
2019-12-26 04:53:11 +00:00
2019-12-27 09:45:26 +00:00
2019-12-18 02:46:21 +00:00