glibc/libio
Roland McGrath f98ca075db [BZ #316]
2004-08-10  Jakub Jelinek  <jakub@redhat.com>
	* libio/bits/stdio.h (fread_unlocked): Cast 0 to (size_t).
	(fwrite_unlocked): When checking if size * n is <= 8, cast each
	argument to size_t individually.  Cast n to (void) instead of
	(size_t), surround with (), return (size_t) 0 if one of n or size
	is 0.  [BZ #316]
	* stdio-common/Makefile (tests): Add tst-unlockedio.
	* stdio-common/tst-unlockedio.c: New test.
2004-08-10 18:01:40 +00:00
..
bits [BZ #316] 2004-08-10 18:01:40 +00:00
__fbufsize.c Update. 2002-04-09 20:36:24 +00:00
__flbf.c Update. 2002-04-09 20:36:24 +00:00
__fpending.c Update. 2002-04-09 20:36:24 +00:00
__fpurge.c Update. 2002-04-09 20:36:24 +00:00
__freadable.c Update. 2002-04-09 20:36:24 +00:00
__freading.c Update. 2002-04-09 20:36:24 +00:00
__fsetlocking.c Update. 2002-04-09 20:36:24 +00:00
__fwritable.c Update. 2002-04-09 20:36:24 +00:00
__fwriting.c Update. 2002-04-09 20:36:24 +00:00
.cvsignore
Banner
bug-fopena+.c Update. 2002-08-27 06:41:29 +00:00
bug-fseek.c Update. 2002-07-24 11:18:48 +00:00
bug-ftell.c * libio/bug-ftell.c (do_test): Add a cast. 2003-11-01 21:11:05 +00:00
bug-mmap-fflush.c Update. 2002-08-27 12:10:11 +00:00
bug-rewind2.c Update. 2002-08-26 08:08:50 +00:00
bug-rewind.c Update. 2002-08-26 08:08:50 +00:00
bug-ungetc2.c Update. 2003-09-06 09:56:14 +00:00
bug-ungetc.c 2002-07-24 Roland McGrath <roland@frob.com> 2002-07-24 09:34:59 +00:00
bug-ungetwc1.c Update. 2002-04-03 09:26:58 +00:00
bug-ungetwc2.c Update. 2002-04-24 21:09:14 +00:00
bug-wfflush.c * libio/bug-wfflush.c (do_test): Call rewind instead of fsetpos. 2002-11-11 06:55:22 +00:00
clearerr_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
clearerr.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
Depend
fcloseall.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
feof_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
feof.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ferror_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ferror.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
filedoalloc.c Update. 2002-07-06 06:36:39 +00:00
fileno.c * locale/programs/ld-ctype.c (ctype_read): When given a repertoire 2002-08-26 11:39:12 +00:00
fileops.c (new_do_write): Return _IO_size_t to make 64-bit clean. 2004-04-01 04:41:12 +00:00
fmemopen.c Update. 2002-08-25 04:51:08 +00:00
fputc_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fputc.c Update. 2003-08-29 19:58:49 +00:00
fputwc_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fputwc.c Update. 2003-08-29 19:58:49 +00:00
freopen64.c Update. 2003-08-29 19:58:49 +00:00
freopen.c Update. 2003-08-29 19:58:49 +00:00
fseek.c Update. 2003-08-29 19:58:49 +00:00
fseeko64.c Update. 2003-08-29 19:58:49 +00:00
fseeko.c Update. 2003-08-29 19:58:49 +00:00
ftello64.c Update. 2003-08-29 19:58:49 +00:00
ftello.c Update. 2003-08-29 19:58:49 +00:00
fwide.c Update. 2003-08-29 19:58:49 +00:00
fwprintf.c Update. 2001-08-17 07:51:36 +00:00
fwscanf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
genops.c Update. 2004-05-13 17:39:36 +00:00
getc_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getc.c Update. 2003-08-29 19:58:49 +00:00
getchar_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getchar.c Update. 2003-08-29 19:58:49 +00:00
getwc_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getwc.c Update. 2003-08-29 19:58:49 +00:00
getwchar_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getwchar.c Update. 2003-08-29 19:58:49 +00:00
iofclose.c Update. 2004-03-09 10:04:55 +00:00
iofdopen.c * scripts/abilist.awk: If variable `parse_names' is set, grok the file 2003-03-27 11:54:09 +00:00
iofflush_u.c Update. 2002-08-04 20:54:20 +00:00
iofflush.c Update. 2003-08-29 19:58:49 +00:00
iofgetpos64.c Update. 2003-08-30 00:24:07 +00:00
iofgetpos.c Update. 2003-08-29 19:58:49 +00:00
iofgets_u.c Update. 2002-08-04 20:54:20 +00:00
iofgets.c Update. 2003-08-29 19:58:49 +00:00
iofgetws_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
iofgetws.c Update. 2003-08-29 19:58:49 +00:00
iofopen64.c Update. 2002-01-07 09:33:53 +00:00
iofopen.c * scripts/abilist.awk: If variable `parse_names' is set, grok the file 2003-03-27 11:54:09 +00:00
iofopncook.c Update. 2004-03-10 09:29:17 +00:00
iofputs_u.c Update. 2002-08-04 20:54:20 +00:00
iofputs.c Update. 2003-08-29 19:58:49 +00:00
iofputws_u.c Update. 2002-08-04 20:54:20 +00:00
iofputws.c Update. 2003-08-29 19:58:49 +00:00
iofread_u.c Update. 2002-08-04 20:54:20 +00:00
iofread.c Update. 2003-08-29 19:58:49 +00:00
iofsetpos64.c Update. 2003-08-29 19:58:49 +00:00
iofsetpos.c Update. 2003-08-29 19:58:49 +00:00
ioftell.c Update. 2003-08-29 19:58:49 +00:00
iofwide.c Update. 2003-08-25 21:45:12 +00:00
iofwrite_u.c Update. 2002-08-04 20:54:20 +00:00
iofwrite.c Update. 2003-08-29 19:58:49 +00:00
iogetdelim.c Update. 2003-08-29 19:58:49 +00:00
iogetline.c Update. 2002-02-26 01:45:59 +00:00
iogets.c Update. 2003-08-29 19:58:49 +00:00
iogetwline.c Update. 2002-02-26 01:45:59 +00:00
iolibio.h Update. 2002-11-05 08:43:05 +00:00
iopadn.c Update. 2002-02-26 01:45:59 +00:00
iopopen.c [BZ #282] 2004-07-23 18:53:26 +00:00
ioputs.c Update. 2003-08-29 19:58:49 +00:00
ioseekoff.c Update. 2003-08-29 19:58:49 +00:00
ioseekpos.c Update. 2003-08-29 19:58:49 +00:00
iosetbuffer.c Update. 2003-08-29 19:58:49 +00:00
iosetvbuf.c Update. 2003-08-29 19:58:49 +00:00
ioungetc.c Update. 2003-08-29 19:58:49 +00:00
ioungetwc.c Update. 2003-08-29 19:58:49 +00:00
iovdprintf.c * scripts/abilist.awk: If variable `parse_names' is set, grok the file 2003-03-27 11:54:09 +00:00
iovsprintf.c Update. 2003-05-27 08:03:32 +00:00
iovsscanf.c Update. 2003-05-27 08:03:32 +00:00
iovswscanf.c Update. 2002-08-04 20:54:20 +00:00
iowpadn.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
libio.h Update. 2004-01-14 18:41:22 +00:00
libioP.h Update. 2004-01-14 18:41:22 +00:00
Makefile Update. 2003-09-06 09:56:14 +00:00
memstream.c Update. 2004-03-05 10:54:16 +00:00
obprintf.c Update. 2004-01-14 18:41:22 +00:00
oldfileops.c Update. 2004-03-10 09:29:17 +00:00
oldiofclose.c Update. 2004-03-10 09:29:17 +00:00
oldiofdopen.c Update. 2004-03-10 09:29:17 +00:00
oldiofgetpos64.c Update. 2004-03-10 09:29:17 +00:00
oldiofgetpos.c Update. 2004-03-10 09:29:17 +00:00
oldiofopen.c Update. 2004-03-10 09:29:17 +00:00
oldiofsetpos64.c Update. 2004-03-10 09:29:17 +00:00
oldiofsetpos.c Update. 2004-03-10 09:29:17 +00:00
oldiopopen.c Update. 2004-03-10 09:29:17 +00:00
oldpclose.c Update. 2004-03-10 09:29:17 +00:00
oldstdfiles.c * locale/programs/ld-ctype.c (ctype_read): When given a repertoire 2002-08-26 11:39:12 +00:00
oldtmpfile.c Update. 2004-03-10 09:29:17 +00:00
pclose.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
peekc.c Update. 2003-08-29 19:58:49 +00:00
putc_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
putc.c Update. 2003-08-29 19:58:49 +00:00
putchar_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
putchar.c Update. 2003-08-29 19:58:49 +00:00
putwc_u.c Update. 2003-02-05 18:06:28 +00:00
putwc.c Update. 2003-08-29 19:58:49 +00:00
putwchar_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
putwchar.c Update. 2003-08-29 19:58:49 +00:00
rewind.c Update. 2003-08-29 19:58:49 +00:00
setbuf.c Update. 2002-02-26 01:45:59 +00:00
setlinebuf.c Update. 2002-02-26 01:45:59 +00:00
stdfiles.c * scripts/abilist.awk: If variable `parse_names' is set, grok the file 2003-03-27 11:54:09 +00:00
stdio.c Update. 2002-03-17 12:09:12 +00:00
stdio.h Update. 2004-07-23 07:08:19 +00:00
strfile.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
strops.c Update. 2004-01-14 18:41:22 +00:00
swprintf.c * stdio-common/sscanf.c: Use prototype defn with ... syntax. 2003-03-05 19:58:20 +00:00
swscanf.c * stdio-common/sscanf.c: Use prototype defn with ... syntax. 2003-03-05 19:58:20 +00:00
test-fmemopen.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
test-freopen.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
test-freopen.sh Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst_getwc.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst_getwc.input
tst_putwc.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst_swprintf.c Fix format strings. 2002-09-30 07:47:16 +00:00
tst_swscanf.c
tst_wprintf2.c
tst_wprintf.c
tst_wscanf.c
tst_wscanf.input
tst-atime.c Update. 2002-09-05 10:28:51 +00:00
tst-eof.c pdate. 2002-07-23 00:31:41 +00:00
tst-ext.c
tst-fgetws.c Fix format strings. 2002-09-30 07:47:16 +00:00
tst-fopenloc.c Update. 2001-07-27 18:09:56 +00:00
tst-freopen.c Update. 2002-08-25 08:44:43 +00:00
tst-mmap2-eofsync.c * catgets/open_catalog.c (__open_catalog): Don't use a value type 2002-09-24 04:24:25 +00:00
tst-mmap-eofsync.c * locale/xlocale.h (struct __locale_struct): New member `__names'. 2002-08-30 10:36:44 +00:00
tst-mmap-fflushsync.c * locale/xlocale.h (struct __locale_struct): New member `__names'. 2002-08-30 10:36:44 +00:00
tst-mmap-offend.c * locale/xlocale.h (struct __locale_struct): New member `__names'. 2002-08-30 10:36:44 +00:00
tst-mmap-setvbuf.c * locale/xlocale.h (struct __locale_struct): New member `__names'. 2002-08-30 10:36:44 +00:00
tst-sscanf.c Update. 2001-08-22 18:40:06 +00:00
tst-swscanf.c Update. 2002-02-26 18:08:08 +00:00
tst-ungetwc1.c * libio/tst-ungetwc1.c (main): Add a const to quiet a warning. 2001-08-23 08:36:47 +00:00
tst-ungetwc2.c Update. 2001-08-17 04:49:12 +00:00
tst-widetext.c * catgets/open_catalog.c (__open_catalog): Don't use a value type 2002-09-24 04:24:25 +00:00
tst-widetext.input
vasprintf.c Update. 2003-05-27 08:03:32 +00:00
Versions Update. 2003-07-22 23:56:53 +00:00
vscanf.c Update. 2002-02-26 01:45:59 +00:00
vsnprintf.c Update. 2004-01-14 18:41:22 +00:00
vswprintf.c Update. 2004-01-14 18:41:22 +00:00
vwprintf.c Update. 2001-08-17 07:51:36 +00:00
vwscanf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
wfiledoalloc.c Update. 2002-07-06 06:36:39 +00:00
wfileops.c Update. 2004-01-14 18:41:22 +00:00
wgenops.c Update. 2002-08-04 09:27:27 +00:00
wprintf.c Update. 2001-08-17 07:51:36 +00:00
wscanf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
wstrops.c Update. 2004-01-14 18:41:22 +00:00