freebsd-dev/lib/libc
Daniel Eischen e7f1524858 Only allow the semaphore to be taken when the value is positive.
Don't decrement it twice when it is taken.

Reported by:	kris
2004-02-06 13:54:38 +00:00
..
alpha Define LDBL_MANH_SIZE and LDBL_MANL_SIZE to be the sizes of the 2004-01-18 07:57:02 +00:00
amd64 Define LDBL_MANH_SIZE and LDBL_MANL_SIZE to be the sizes of the 2004-01-18 07:57:02 +00:00
compat-43 mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
db Simplify mpool_get() and mpool_write() by using pread() and pwrite() 2004-01-20 00:40:35 +00:00
gdtoa Updated manh shift constant type to 'ULL' for PPC to fix 2004-01-21 04:51:50 +00:00
gen Only allow the semaphore to be taken when the value is positive. 2004-02-06 13:54:38 +00:00
gmon Use ANSI C function definition for _mcount' and remove static' 2004-01-06 18:49:54 +00:00
i386 Define LDBL_MANH_SIZE and LDBL_MANL_SIZE to be the sizes of the 2004-01-18 07:57:02 +00:00
ia64 Define LDBL_MANH_SIZE and LDBL_MANL_SIZE to be the sizes of the 2004-01-18 07:57:02 +00:00
include Add a delta accidentally omitted from the previous commit: 2004-01-18 08:05:21 +00:00
locale LC_ALL not always take priority over other LC_* 2004-01-31 19:15:32 +00:00
net It was reported that when using nss_ldap, getgrent(3) would behave 2004-01-09 13:43:49 +00:00
nls Remove incomplete support for running FreeBSD userland on old NetBSD kernels 2003-10-29 10:45:01 +00:00
posix1e Adjust for brain outage that affected the previous commit. 2004-01-06 20:29:40 +00:00
powerpc Include <stdlib.h> to get abort() prototype. 2004-01-21 05:04:25 +00:00
quad libc_r wasn't so tied to libc for 22 months. 2002-11-18 09:50:57 +00:00
regex mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
rpc XDR sources are handled by ../xdr/Makefile.inc. 2004-01-11 17:14:54 +00:00
sparc64 Add prototypes for the three syscall stubs that are invoked here, 2004-01-19 16:14:58 +00:00
stdio Merge vfscanf.c,v 1.35. 2004-01-31 23:18:53 +00:00
stdlib Use 'uint32_t' instead of 'long' when a 32-bit integer is intended. 2004-01-20 03:02:18 +00:00
stdtime Detect range errors when using the %s specifier. Previously, LONG_MAX 2003-11-17 04:19:15 +00:00
string Translate from GNU C to ISO C. 2004-01-14 07:47:10 +00:00
sys Xref kqueue and poll 2004-01-26 15:20:16 +00:00
uuid Remove stale DCE 1.1 pointers to the IBM site. The URLs aren't valid 2003-08-08 19:18:43 +00:00
xdr When writing/reading longs use explicit 32bit temporary values. 2004-01-24 01:23:30 +00:00
yp Back out the `hiding' of strlcpy and strlcat. Several people 2003-05-01 19:03:14 +00:00
Makefile libc is now WARNS=2 clean with the exception of the gdtoa bits (which 2004-01-19 16:16:53 +00:00