fix off-by-one error in sem_(timed)wait (using old sem value instead of new)
authorRich Felker <dalias@aerifal.cx>
Mon, 7 Mar 2011 23:09:24 +0000 (18:09 -0500)
committerRich Felker <dalias@aerifal.cx>
Mon, 7 Mar 2011 23:09:24 +0000 (18:09 -0500)
commit9fe28f703d44ff1ddecdca945bfb5fc87de5e8ad
tree43f46e8b5f847b6cad08efc308255559a4a2bc22
parent5fd4a9816573a3b6a244b73b84ce0cec871321da
fix off-by-one error in sem_(timed)wait (using old sem value instead of new)
src/thread/sem_timedwait.c