Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-9] src/lib/libc/thread-stub



Module Name:    src
Committed By:   martin
Date:           Sat Feb  4 14:41:39 UTC 2023

Modified Files:
        src/lib/libc/thread-stub [netbsd-9]: thread-stub.c

Log Message:
Pull up following revision(s) (requested by uwe in ticket #1583):

        lib/libc/thread-stub/thread-stub.c: revision 1.30

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.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.29.2.1 src/lib/libc/thread-stub/thread-stub.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index