freebsd-nq/lib/libc
John Birrell 1a3a296d21 Fix mutex initialization.
Malloc cannot use pthread_mutex_init() to initialize a mutex because
the mutex initialization process does a malloc!

libc_r internals skip the malloc and assign an initializer to a static
structure and point the opaque type (pthread_mutex_t in this case) to
that structure. This is done on the assumption that the mutex will never
be destroyed. This style of initialization is only valid inside libc_r
because the structure that is assigned is opaque to the user.

This fix allows a simple program to get to main() again. 8-)
1997-06-04 12:55:49 +00:00
..
amd64 Changed all paths to be relative to src/lib instead of src/lib/libc 1997-05-03 03:50:06 +00:00
compat-43 Changed all paths to be relative to src/lib instead of src/lib/libc 1997-05-03 03:50:06 +00:00
db Changed all paths to be relative to src/lib instead of src/lib/libc 1997-05-03 03:50:06 +00:00
gen Re-activate the nanosleep style using code, but with the signal handling 1997-06-02 16:30:22 +00:00
gmon Changed all paths to be relative to src/lib instead of src/lib/libc 1997-05-03 03:50:06 +00:00
i386 Changed all paths to be relative to src/lib instead of src/lib/libc 1997-05-03 03:50:06 +00:00
locale Completely remove #ifdefed out 8859-1 extension, I found it break 1997-05-14 00:11:02 +00:00
net Changed all paths to be relative to src/lib instead of src/lib/libc 1997-05-03 03:50:06 +00:00
nls Plug even more failure memory leaks 1997-05-10 04:40:40 +00:00
quad Changed all paths to be relative to src/lib instead of src/lib/libc 1997-05-03 03:50:06 +00:00
regex Changed all paths to be relative to src/lib instead of src/lib/libc 1997-05-03 03:50:06 +00:00
rpc Fix other small things that got lost in the merge: 1997-05-28 16:38:35 +00:00
stdio Changed all paths to be relative to src/lib instead of src/lib/libc 1997-05-03 03:50:06 +00:00
stdlib Fix mutex initialization. 1997-06-04 12:55:49 +00:00
stdtime it's'' -> its'' where appropriate and typo fixes in time2posix.3. 1997-05-19 16:33:27 +00:00
string Changed all paths to be relative to src/lib instead of src/lib/libc 1997-05-03 03:50:06 +00:00
sys Submitted by: Whistle Communications (archie Cobbs) 1997-06-02 06:24:52 +00:00
xdr Restore Id. 1997-05-28 16:29:12 +00:00
yp Use ${DESTDIR} correctly in front of absolute paths. 1997-05-23 08:24:00 +00:00
Makefile Use ${DESTDIR} correctly in front of absolute paths. 1997-05-23 08:24:00 +00:00
Makefile.inc Changed all paths to be relative to src/lib instead of src/lib/libc 1997-05-03 03:50:06 +00:00