gcc/libgfortran
Janne Blomqvist 82b8244c51 re PR libfortran/25949 (Unbounded I/O buffer memory usage for formatted IO)
2006-02-12  Janne Blomqvist  <jb@gcc.gnu.org>

	PR libgfortran/25949
	* io/io.h: Add set function pointer to struct stream.  
	* io/unix.c (fd_seek): Only update offset, don't seek.
	(fd_sset): New function.
	(fd_read): Call lseek directly if necessary.
	(fd_write): Likewise.
	(fd_open): Set pointer to fd_sset.
	(mem_set): New function.
	(open_internal): Set pointer to mem_set.
	* io/transfer.c (write_block_direct): Rename to write_buf, add
	error return, non-pointer length argument.
	(unformatted_write): Update to use write_buf.
	(us_write): Simplify by using swrite instead of salloc_w.
	(write_us_marker): New function.
	(new_record_w): Use sset instead of memset, use write_us_marker,
	simplify by using swrite instead of salloc_w.

From-SVN: r110895
2006-02-12 21:59:32 +02:00
..
config
generated Make-lang.in (fortran/trans-resolve.o): Depend on fortran/dependency.h. 2005-12-13 05:23:12 +00:00
intrinsics re PR libfortran/25577 (gfortran routine mvbits returns wrong answer.) 2006-02-08 00:52:37 +01:00
io re PR libfortran/25949 (Unbounded I/O buffer memory usage for formatted IO) 2006-02-12 21:59:32 +02:00
m4 Make-lang.in (fortran/trans-resolve.o): Depend on fortran/dependency.h. 2005-12-13 05:23:12 +00:00
runtime re PR libfortran/25425 ([4.1 only] F95 and F2003 differ on list-directed output for 0.0) 2006-02-08 20:54:14 +00:00
acinclude.m4
aclocal.m4 configure.ac: Remove check for sys/mman.h. 2006-01-07 21:28:22 +02:00
c99_protos.h
ChangeLog re PR libfortran/25949 (Unbounded I/O buffer memory usage for formatted IO) 2006-02-12 21:59:32 +02:00
ChangeLog-2002 * Split the ChangeLog into years. 2006-01-01 17:14:35 +00:00
ChangeLog-2003 * Split the ChangeLog into years. 2006-01-01 17:14:35 +00:00
ChangeLog-2004 * Split the ChangeLog into years. 2006-01-01 17:14:35 +00:00
ChangeLog-2005 * Split the ChangeLog into years. 2006-01-01 17:14:35 +00:00
config.h.in configure.ac: Remove check for sys/mman.h. 2006-01-07 21:28:22 +02:00
configure configure.ac (CFLAGS): Update to include -std=gnu99 so that the configure tests will be run with the... 2006-01-16 22:03:14 +00:00
configure.ac configure.ac (CFLAGS): Update to include -std=gnu99 so that the configure tests will be run with the... 2006-01-16 22:03:14 +00:00
configure.host
fmain.c
libgfortran.h re PR libfortran/25425 ([4.1 only] F95 and F2003 differ on list-directed output for 0.0) 2006-02-08 20:54:14 +00:00
libtool-version
Makefile.am Makefile.am: Enable loop unrolling for matmul. 2005-12-10 23:22:16 +02:00
Makefile.in configure.ac: Remove check for sys/mman.h. 2006-01-07 21:28:22 +02:00
mk-kinds-h.sh
mk-sik-inc.sh
mk-srk-inc.sh