1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00
freebsd/lib
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
..
compat Add libg++ 3.0 1997-04-03 06:08:28 +00:00
csu/i386 Use our copy of dlfcn.h, not the version in /usr/include, which may not 1997-04-30 03:12:09 +00:00
libalias Create the alias library. This is currently only used by 1997-05-23 04:41:31 +00:00
libc Fix mutex initialization. 1997-06-04 12:55:49 +00:00
libc_r Fixed overallocation of _thread_fd_table. 1997-05-13 23:54:22 +00:00
libcom_err Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
libcompat Fixed #include and/or prototype bugs in synopsis. 1997-04-19 15:57:20 +00:00
libcrypt Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
libcurses Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
libdisk Fixed this header to compile with gcc -pedantic -Werror (removed comma 1997-03-19 01:54:04 +00:00
libedit Fix a minor buffer overflow. 1997-03-23 23:17:22 +00:00
libf2c Add a -I switch to CFLAGS to use the f2c.h header file in the usr.bin/f2c 1997-04-24 17:10:56 +00:00
libF77 Upgrade to the 1997/02/26 version. 1997-04-13 01:16:58 +00:00
libftpio Make this C++ safe. 1997-05-05 11:18:55 +00:00
libgnumalloc Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
libI77 Upgrade to the 1997/02/26 version. 1997-04-13 01:16:58 +00:00
libipx Fixed missing const in synopsis. 1997-04-13 14:12:48 +00:00
libkse Fixed overallocation of _thread_fd_table. 1997-05-13 23:54:22 +00:00
libkvm Fixed #include and/or prototype bugs in synopsis. 1997-04-19 15:57:20 +00:00
libm Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
libmd FIxed arg types (mostly missing consts) in synopsis. 1997-03-19 00:52:58 +00:00
libmytinfo Remove conflicting declaration of sys_errlist, which caused make world 1997-03-29 17:42:32 +00:00
libncurses Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
libopie Install opie.h in /usr/include 1997-03-08 19:42:41 +00:00
libpam/modules Fix the man page's title (.Dt). 1997-06-02 17:24:36 +00:00
libpcap Bump minor version number. 1997-05-27 00:08:01 +00:00
libpthread Fixed overallocation of _thread_fd_table. 1997-05-13 23:54:22 +00:00
libresolv Yet another attempt to remove the old libraries correctly. libfoo.* 1996-10-08 20:06:41 +00:00
librpcsvc Fix conflicts (this one is easy: there's just the Makefile). 1997-05-28 04:53:07 +00:00
libscsi Don't use the undocumented .Fr (function return value) macro for function 1997-03-19 22:09:08 +00:00
libskey Fixed synopsis (missing #includes and consts). 1997-03-19 01:33:23 +00:00
libss Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
libtcl Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
libtelnet Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
libtermcap Fixed spelling of __set_ospeed (was _set_ospeed) and improved 1997-04-13 12:16:59 +00:00
libutil Submitted by: Whistle Communications (archie Cobbs) 1997-06-02 06:24:52 +00:00
libxpg4 Add more stuff moved out from XPG3 1995-11-03 09:03:00 +00:00
liby Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
libz Back out an easy $FreeBSD$ 1997-02-22 11:38:21 +00:00
msun Fixed wrong mnemonic `setnel' that gas happened to generate correct object 1997-04-30 20:37:52 +00:00
ncurses/ncurses Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
Makefile Hook in alias library. 1997-05-23 04:46:49 +00:00
Makefile.inc