fix error handling for pthread_sigmask
authorRich Felker <dalias@aerifal.cx>
Thu, 10 Mar 2011 01:31:06 +0000 (20:31 -0500)
committerRich Felker <dalias@aerifal.cx>
Thu, 10 Mar 2011 01:31:06 +0000 (20:31 -0500)
commit500c969f059dc1b12dc3809d270cb169abbd57d3
tree451ff6c500acea4d15c1e908bb8515016b09f405
parent3f5420bcda134de80ed6b0f0da1d7d23f147a4cc
fix error handling for pthread_sigmask

it must return errno, not -1, and should reject invalud values for how.
src/signal/sigprocmask.c
src/thread/pthread_sigmask.c [new file with mode: 0644]