glibc/misc
Roland McGrath 0dce3d154c * sysdeps/mach/hurd/bits/libc-lock.h: New file, initially copied from
sysdeps/mach version.  Implement counting ("recursive") mutexes
	on top of cthreads mutexes.
	* sysdeps/mach/hurd/bits/stdio-lock.h: File removed; generic now works.

	* sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Define to
	_LIBC_LOCK_RECURSIVE_INITIALIZER if defined, else do an #error.
	(__libc_cleanup_region_start, __libc_cleanup_region_end,
	__libc_clean_end): Define these to call the cleanup function after
	normal exit when they're supposed to.

	* sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start):
	Take new first arg DOIT, a boolean saying whether to really install
	any cleanup handler.
	(__libc_cleanup_region_end): Do nothing if start's DOIT arg was zero.
	(__libc_cleanup_end): Likewise.
	* stdio-common/vfscanf.c (LOCK_STREAM): Pass new arg.
	* stdio-common/vfprintf.c (buffered_vfprintf, vfprintf): Likewise.
	* sysdeps/mach/hurd/bits/stdio-lock.h (_IO_cleanup_region_start):
	Likewise.
	* misc/syslog.c (vsyslog, openlog, closelog): Likewise.
	* sysdeps/generic/bits/stdio-lock.h
	(_IO_cleanup_region_start, _IO_cleanup_region_start_noarg): Likewise.
2001-08-24 03:21:51 +00:00
..
bits Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sys Update. 2001-08-18 23:36:58 +00:00
.cvsignore Tue May 14 14:07:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> 1996-05-14 20:30:25 +00:00
ar.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
daemon.c Update. 2000-10-28 00:45:40 +00:00
dirname.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
efgcvt_r.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
efgcvt.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
err.c Update. 2001-08-21 02:57:38 +00:00
err.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
error.c Update. 2001-08-21 02:57:38 +00:00
error.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fstab.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fstab.h Update. 1999-10-09 21:56:43 +00:00
getpass.c Include wchar.h for prototypes. 2001-08-17 14:14:10 +00:00
getttyent.c Update. 2001-07-17 08:32:35 +00:00
getusershell.c Update. 2001-07-17 08:32:35 +00:00
hsearch_r.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
hsearch.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
init-misc.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
insremque.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
libgen.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
lsearch.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
Makefile Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
mkdtemp.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
mkstemp64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
mkstemp.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
mktemp.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
mntent_r.c (__setmntent): Fix typo. 2001-07-17 08:34:13 +00:00
mntent.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
mntent.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
qefgcvt_r.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
qefgcvt.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
regexp.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
regexp.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
search.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sgtty.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
stab.h Update. 1997-06-21 02:59:26 +00:00
syscall.h update from main archive 960107 1997-01-07 23:29:44 +00:00
sysexits.h Update. 1999-06-09 13:08:30 +00:00
syslog.c * sysdeps/mach/hurd/bits/libc-lock.h: New file, initially copied from 2001-08-24 03:21:51 +00:00
syslog.h initial import 1995-02-18 01:27:10 +00:00
tsearch.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-dirname.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-efgcvt.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-fdset.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-mntent.c Update. 1999-07-26 01:47:15 +00:00
tst-tsearch.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ttyent.h Update. 1999-10-09 21:56:43 +00:00
ttyslot.c Update. 1999-06-08 21:20:07 +00:00
ustat.h Thu Jul 18 04:33:21 1996 Roland McGrath <roland@baalperazim.frob.com> 1996-07-18 08:43:26 +00:00
Versions Update. 2000-09-26 09:57:34 +00:00