OSDN Git Service

don't fail pthread_sigmask/sigprocmask on invalid how when set is null
authorRich Felker <dalias@aerifal.cx>
Wed, 19 Dec 2018 01:01:20 +0000 (20:01 -0500)
committerRich Felker <dalias@aerifal.cx>
Wed, 19 Dec 2018 01:01:20 +0000 (20:01 -0500)
commit1ec71c531e118971e70ddd0e9e2ed9def2b3c779
tree371aab4c9dfce87d8ea4ea47582689aaa3f1ef8e
parenta63c0104e496f7ba78b64be3cd299b41e8cd427f
don't fail pthread_sigmask/sigprocmask on invalid how when set is null

the resolution of Austin Group issue #1132 changes the requirement to
fail so that it only applies when the set argument (new mask) is
non-null. this change was made for consistency with the description,
which specified "if set is a null pointer, the value of the argument
how is not significant".
src/thread/pthread_sigmask.c