commit | 473db47747bb8bc986d88ad81799bcbd88153ac5 | [log] [tgz] |
---|---|---|
author | Alexey Izbyshev <izbyshev@ispras.ru> | Sat Oct 24 20:47:38 2020 +0300 |
committer | GitHub <noreply@github.com> | Sat Oct 24 10:47:38 2020 -0700 |
tree | 5db1f6a73c60f506944081915d92082de9f35265 | |
parent | e01e442125bbc98e6dab66f38ecc6c45f69e6587 [diff] |
bpo-35823: subprocess: Fix handling of pthread_sigmask() errors (GH-22944) Using POSIX_CALL() is incorrect since pthread_sigmask() returns the error number instead of setting errno. Also handle failure of the first call to pthread_sigmask() in the parent process, and explain why we don't handle failure of the second call in a comment.