glibc/stdio-common
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
..
_i18n_number.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
_itoa.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
_itoa.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
_itowa.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
_itowa.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
.cvsignore
asprintf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
bug1.c
bug1.input
bug2.c
bug3.c
bug4.c
bug5.c
bug6.c
bug6.input
bug7.c
bug8.c
bug9.c
bug10.c
bug11.c
bug12.c
bug13.c
Depend
dprintf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
errnobug.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fprintf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fscanf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getline.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getw.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
itoa-digits.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
itoa-udigits.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
itowa-digits.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
Makefile Update. 2001-08-16 05:23:52 +00:00
perror.c 2001-08-17 Roland McGrath <roland@frob.com> 2001-08-18 02:49:41 +00:00
printf_fp.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
printf_size.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
printf-parse.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
printf-prs.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
printf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
printf.h Update. 2001-07-23 23:45:03 +00:00
psignal.c Update. 2001-08-17 04:49:12 +00:00
putw.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
reg-printf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
scanf1.c
scanf2.c
scanf3.c
scanf4.c
scanf5.c
scanf7.c
scanf8.c
scanf9.c
scanf10.c
scanf12.c
scanf12.input
scanf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
snprintf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sprintf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sscanf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
stdio_ext.h Fix typo in comment. 2001-08-10 19:35:27 +00:00
stdio_lim.h.in Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tempnam.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
temptest.c
test_rdwr.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
test-fseek.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
test-fwrite.c
test-popen.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
test-vfprintf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tfformat.c
tiformat.c
tllformat.c
tmpfile64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tmpfile.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tmpnam_r.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tmpnam.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-cookie.c
tst-ferror.c
tst-ferror.input
tst-fileno.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-fmemopen.c
tst-fseek.c 2001-08-21 Roland McGrath <roland@frob.com> 2001-08-22 22:23:59 +00:00
tst-gets.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-gets.input
tst-obprintf.c
tst-perror.c Update. 2001-08-16 05:23:52 +00:00
tst-printf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-printf.sh Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-printfsz.c
tst-sscanf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-swprintf.c
tst-tmpnam.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-unbputc.c
tst-unbputc.sh Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-ungetc.c
tst-wc-printf.c
tstdiomisc.c
tstgetln.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tstgetln.input
tstscanf.c Update. 2001-08-07 04:37:18 +00:00
tstscanf.input
Versions
vfprintf.c * sysdeps/mach/hurd/bits/libc-lock.h: New file, initially copied from 2001-08-24 03:21:51 +00:00
vfscanf.c * sysdeps/mach/hurd/bits/libc-lock.h: New file, initially copied from 2001-08-24 03:21:51 +00:00
vfwprintf.c
vfwscanf.c
vprintf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
xbug.c