report sem value overflows in sem_post
authorRich Felker <dalias@aerifal.cx>
Wed, 26 Oct 2011 04:28:47 +0000 (00:28 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 26 Oct 2011 04:28:47 +0000 (00:28 -0400)
commit26120950e26478740a29fd0b1fd78a0bd6b880c8
tree0dde8c4e2b3fdd7d7b48718deca7d27e7cd6a1ba
parent42976cee2d31bbaade6d2169a9f234cd82af0715
report sem value overflows in sem_post

this is not required by the standard, but it's nicer than corrupting
the state and rather inexpensive.
src/thread/sem_post.c