deischen 2004/02/06 05:54:38 PST FreeBSD src repository Modified files: lib/libc/gen sem.c Log: Only allow the semaphore to be taken when the value is positive. Don't decrement it twice when it is taken. Reported by: kris Revision Changes Path 1.12 +1 -2 src/lib/libc/gen/sem.c