glibc/sysdeps/unix
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
..
alpha Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
arm Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
bsd Update. 2001-09-26 06:59:16 +00:00
common Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
i386 Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
inet * sysdeps/unix/make-syscalls.sh: Handle new arg signature 2000-07-17 22:28:59 +00:00
mips Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
mman * sysdeps/unix/make-syscalls.sh: Handle new arg signature 2000-07-17 22:28:59 +00:00
powerpc Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sh Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sparc Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sysv Update. 2002-01-07 09:33:53 +00:00
x86_64 Update. 2001-09-19 10:37:31 +00:00
_exit.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
alarm.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
clock_gettime.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
clock_nanosleep.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
clock_settime.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
closedir.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
configure Regenerated: autoconf sysdeps/generic/configure.in 2001-06-12 00:57:28 +00:00
configure.in Wed Feb 7 18:48:30 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1996-02-08 02:10:15 +00:00
confstr.h initial import 1995-02-18 01:27:10 +00:00
dirfd.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
dirstream.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
Dist Update. 1998-07-04 14:40:35 +00:00
errnos-tmpl.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
errnos.awk initial import 1995-02-18 01:27:10 +00:00
execve.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fork.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fxstat.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getdents.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getegid.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
geteuid.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getlogin_r.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getlogin.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getpagesize.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getppid.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
grantpt.c Update. 2001-12-19 00:21:23 +00:00
Implies initial import 1995-02-18 01:27:10 +00:00
ioctls-tmpl.c initial import 1995-02-18 01:27:10 +00:00
ioctls.awk initial import 1995-02-18 01:27:10 +00:00
make_errlist.c Update. 2001-07-08 09:47:01 +00:00
make-syscalls.sh Update. 2001-09-12 22:20:11 +00:00
Makefile Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
mk-local_lim.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
mkdir.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
mkfifo.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
nice.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
opendir.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
pipestream.c initial import 1995-02-18 01:27:10 +00:00
readdir_r.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
readdir.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
rewinddir.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
rmdir.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
s-proto.S Thu Jan 18 00:32:43 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1996-01-19 00:42:21 +00:00
seekdir.c Update. 2001-08-08 02:52:43 +00:00
siglist.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
snarf-ioctls Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sockatmark.c Update. 2001-08-17 07:51:36 +00:00
start.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
stime.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
Subdirs Update. 1997-08-10 18:37:15 +00:00
syscall.S Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
syscalls.list Update. 2000-09-09 07:59:23 +00:00
sysdep.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
system.c initial import 1995-02-18 01:27:10 +00:00
telldir.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
time.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
utime.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
xmknod.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
xstat.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00