glibc/libio
Ulrich Drepper 0469311e87 Update.
2002-01-07  Ulrich Drepper  <drepper@redhat.com>

	* libio/fileops.c (_IO_file_underflow_mmap): New function.
	(_IO_file_close_mmap): New function.
	(_IO_file_jumps_mmap): New variable.
	* libio/wfileops.c (_IO_wfile_underflow): Reset read pointer before
	trying to convert rest of byte buffer.
	(_IO_wfile_underflow_mmap): New function.
	(_IO_wfile_jumps_mmap): New variable.
	* libio/iofopen.c (__fopen_maybe_mmap): New function.
	(__fopen_internal): New function.  Split out from _IO_new_fopen.
	(_IO_new_fopen): Call __fopen_internal.
	* libio/iofopen64.c: Just call __fopen_internal.
	* libio/iofdopen.c: Call __fopen_maybe_mmap before returning
	successfully.
	* libio/iolibio.h: Declare __fopen_internal and __fopen_maybe_mmap.
	* libio/libioP.h: Declare _IO_file_jumps_mmap, _IO_wfile_jumps_mmap,
	_IO_file_close_mmap.

	* sysdeps/gnu/_G_config.h: Define _G_MMAP64.
	* sysdeps/unix/sysv/linux/cris/_G_config.h: Likewise.

	* stdio-common/Makefile (tests): Add tst-rndseek.
	* stdio-common/tst-rndseek.c: New file.
2002-01-07 09:33:53 +00:00
..
bits Update. 2001-08-02 16:11:13 +00:00
__fbufsize.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
__flbf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
__fpending.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
__fpurge.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
__freadable.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
__freading.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
__fsetlocking.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
__fwritable.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
__fwriting.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
.cvsignore
Banner
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 * sysdeps/generic/device-nrs.h (DEV_TTY_P): Change argument type 2001-07-21 05:13:40 +00:00
fileno.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fileops.c Update. 2002-01-07 09:33:53 +00:00
fmemopen.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fputc_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fputc.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fputwc_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fputwc.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
freopen64.c Update. 2001-08-17 07:51:36 +00:00
freopen.c Update. 2001-08-17 07:51:36 +00:00
fseek.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fseeko64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fseeko.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ftello64.c Update. 2001-08-09 08:50:50 +00:00
ftello.c Update. 2001-08-09 08:50:50 +00:00
fwide.c Update to LGPL v2.1. 2001-07-06 04:58:11 +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. 2001-11-28 23:35:29 +00:00
getc_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getc.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getchar_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getchar.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getwc_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getwc.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getwchar_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getwchar.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
iofclose.c Update. 2001-07-27 08:29:06 +00:00
iofdopen.c Update. 2002-01-07 09:33:53 +00:00
iofflush_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
iofflush.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
iofgetpos64.c Update. 2001-08-09 08:50:50 +00:00
iofgetpos.c Update. 2001-08-09 08:50:50 +00:00
iofgets_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
iofgets.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
iofgetws_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
iofgetws.c update. 2001-08-09 00:11:12 +00:00
iofopen64.c Update. 2002-01-07 09:33:53 +00:00
iofopen.c Update. 2002-01-07 09:33:53 +00:00
iofopncook.c 2001-11-13 Roland McGrath <roland@frob.com> 2001-11-13 10:06:27 +00:00
iofputs_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
iofputs.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
iofputws_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
iofputws.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
iofread_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
iofread.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
iofsetpos64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
iofsetpos.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ioftell.c Update. 2001-08-09 08:50:50 +00:00
iofwide.c (_IO_fwide): Don't reset file position to beginning of file, really get current position. 2001-08-15 18:40:16 +00:00
iofwrite_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
iofwrite.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
iogetdelim.c Realloc error handling memory leak fix. 2001-12-29 15:57:15 +00:00
iogetline.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
iogets.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
iogetwline.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
iolibio.h Update. 2002-01-07 09:33:53 +00:00
iopadn.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
iopopen.c Update. 2001-08-07 17:26:45 +00:00
ioputs.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ioseekoff.c Update. 2001-08-09 08:50:50 +00:00
ioseekpos.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
iosetbuffer.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
iosetvbuf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
iosprintf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ioungetc.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ioungetwc.c Update. 2001-08-09 02:01:10 +00:00
iovdprintf.c Update. 2001-08-11 05:19:24 +00:00
iovsprintf.c Update. 2001-08-11 05:19:24 +00:00
iovsscanf.c Update. 2001-08-11 05:19:24 +00:00
iovswscanf.c Update. 2001-08-11 05:19:24 +00:00
iowpadn.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
libio.h Update. 2001-08-15 06:23:11 +00:00
libioP.h Update. 2002-01-07 09:33:53 +00:00
Makefile Update. 2001-08-22 18:40:06 +00:00
memstream.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
obprintf.c Update. 2001-08-11 05:19:24 +00:00
oldfileops.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
oldiofclose.c Update. 2001-07-24 04:22:05 +00:00
oldiofdopen.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
oldiofgetpos64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
oldiofgetpos.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
oldiofopen.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
oldiofsetpos64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
oldiofsetpos.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
oldiopopen.c Update. 2001-08-07 17:26:45 +00:00
oldpclose.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
oldstdfiles.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
oldtmpfile.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
pclose.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
peekc.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
putc_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
putc.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
putchar_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
putchar.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
putwc_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
putwc.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
putwchar_u.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
putwchar.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
rewind.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
setbuf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
setlinebuf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
stdfiles.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
stdio.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
stdio.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
strfile.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
strops.c Update. 2001-08-11 05:19:24 +00:00
swprintf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
swscanf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +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 Update. 2001-12-14 07:26:22 +00:00
tst_swscanf.c Update. 2001-02-09 17:57:28 +00:00
tst_wprintf2.c
tst_wprintf.c
tst_wscanf.c Update. 2001-02-09 17:57:28 +00:00
tst_wscanf.input
tst-ext.c Update. 2001-03-27 00:16:51 +00:00
tst-fgetws.c update. 2001-08-09 00:11:12 +00:00
tst-fopenloc.c Update. 2001-07-27 18:09:56 +00:00
tst-sscanf.c Update. 2001-08-22 18:40:06 +00:00
tst-swscanf.c Update. 2001-08-09 19:10:37 +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 Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-widetext.input
vasprintf.c Update. 2001-12-06 08:49:08 +00:00
Versions
vscanf.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
vsnprintf.c Update. 2001-08-11 05:19:24 +00:00
vswprintf.c Update. 2001-08-11 05:19:24 +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 to LGPL v2.1. 2001-07-06 04:58:11 +00:00
wfileops.c Update. 2002-01-07 09:33:53 +00:00
wgenops.c Update. 2001-08-11 05:19:24 +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. 2001-08-11 05:19:24 +00:00