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 Tue May 14 14:07:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> 1996-05-14 20:30:25 +00:00
asprintf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
bug1.c Update. 1999-07-17 23:56:47 +00:00
bug1.input
bug2.c Update. 1997-05-26 23:01:17 +00:00
bug3.c 1997-05-07 16:31 Ulrich Drepper <drepper@cygnus.com> 1997-05-07 14:34:37 +00:00
bug4.c 1997-05-07 16:31 Ulrich Drepper <drepper@cygnus.com> 1997-05-07 14:34:37 +00:00
bug5.c Update. 1998-07-04 10:39:13 +00:00
bug6.c Update. 1997-05-26 23:01:17 +00:00
bug6.input
bug7.c update from main archive 970122 1997-01-24 02:23:54 +00:00
bug8.c update from main archive 961008 1996-10-08 23:39:20 +00:00
bug9.c update from main archive 961008 1996-10-08 23:39:20 +00:00
bug10.c update from main archive 970218 1997-02-19 04:43:53 +00:00
bug11.c update from main archive 961008 1996-10-08 23:39:20 +00:00
bug12.c Update. 1998-06-15 14:55:03 +00:00
bug13.c Update. 2000-07-29 06:45:51 +00:00
Depend Update. 2000-07-29 06:45:51 +00:00
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 update from main archive 970121 1997-01-23 04:24:20 +00:00
scanf2.c update from main archive 961008 1996-10-08 23:39:20 +00:00
scanf3.c update from main archive 970121 1997-01-23 04:24:20 +00:00
scanf4.c * tst-trans.c: Include <stdlib.h> and <string.h>. 2000-06-21 12:39:22 +00:00
scanf5.c * tst-trans.c: Include <stdlib.h> and <string.h>. 2000-06-21 12:39:22 +00:00
scanf7.c Update. 1998-11-13 19:03:53 +00:00
scanf8.c update from main archive 961008 1996-10-08 23:39:20 +00:00
scanf9.c Update. 2000-12-15 16:03:57 +00:00
scanf10.c update from main archive 970121 1997-01-23 04:24:20 +00:00
scanf12.c Update. 2000-07-22 07:26:13 +00:00
scanf12.input Update. 1999-02-07 00:06:12 +00:00
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 * malloc/memusagestat.c (main): Use return instead of exit to 2000-12-31 10:52:32 +00:00
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 update from main archive 961008 1996-10-08 23:39:20 +00:00
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 Make local functions static. 2000-12-27 20:26:07 +00:00
tiformat.c Update. 2000-06-17 19:22:43 +00:00
tllformat.c Update. 1999-02-14 20:03:55 +00:00
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 Update. 2000-03-23 20:42:34 +00:00
tst-ferror.c Update. 1997-04-08 23:42:08 +00:00
tst-ferror.input Update. 1997-04-08 23:42:08 +00:00
tst-fileno.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-fmemopen.c Update. 2000-11-20 17:40:29 +00:00
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 Update. 2001-02-15 19:57:43 +00:00
tst-obprintf.c Update. 2000-03-27 18:36:21 +00:00
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-trans.c: Include <stdlib.h> and <string.h>. 2000-06-21 12:39:22 +00:00
tst-sscanf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-swprintf.c Test case for swptinf. 2000-09-05 22:41:48 +00:00
tst-tmpnam.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-unbputc.c Update. 2000-07-03 21:40:46 +00:00
tst-unbputc.sh Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-ungetc.c Update. 1998-10-23 13:44:50 +00:00
tst-wc-printf.c Update. 1998-04-28 14:15:46 +00:00
tstdiomisc.c Update. 2000-12-15 16:03:57 +00:00
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 Update. 1998-08-08 20:02:34 +00:00
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 Update. 1999-06-16 22:55:47 +00:00
vfwscanf.c Update. 2000-06-29 04:12:28 +00:00
vprintf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
xbug.c Update. 1998-01-21 17:04:36 +00:00