gcc/libgfortran/io
Janne Blomqvist c132497f1b unix.c (unix_stream): Rearrange struct members, remove small_buffer.
2007-05-26  Janne Blomqvist  <jb@gcc.gnu.org>

	* io/unix.c (unix_stream): Rearrange struct members, remove
	small_buffer.
	(int_stream): New struct.
	(fd_alloc): Always use existing buffer, never reallocate.
	(fd_sfree): Remove check for buffer != small_buffer.
	(fd_close): Likewise.
	(mem_alloc_r_at): Change to use int_stream.
	(mem_alloc_w_at): Likewise.
	(mem_read): Likewise.
	(mem_write): Likewise.
	(mem_set): Likewise.
	(mem_truncate): Likewise.
	(mem_close): Likewise.
	(mem_sfree): Likewise.
	(empty_internal_buffer): Likewise.
	(open_internal): Likewise.

From-SVN: r125099
2007-05-26 23:50:21 +03:00
..
close.c re PR fortran/28335 (flush() / write() statement on closed units - error?) 2006-07-31 00:15:08 +00:00
file_pos.c re PR libfortran/31532 (INQUIRE(...,POSITION=...) not standard conforming) 2007-04-28 02:03:21 +00:00
format.c re PR fortran/31395 ([4.2 Only] Colon edit descriptor is ignored unless preceded by a comma or a slash) 2007-04-06 15:39:02 +00:00
inquire.c re PR libfortran/31532 (INQUIRE(...,POSITION=...) not standard conforming) 2007-04-28 02:03:21 +00:00
intrinsics.c re PR target/22539 (Internal compiler error with maximum sized array) 2007-05-04 14:02:18 -04:00
io.h re PR libfortran/31607 (CALL SYSTEM produces garbled output when writing to a buffered file) 2007-05-07 19:48:40 +00:00
list_read.c re PR libfortran/31501 (libgfortran internal unit I/O performance issues) 2007-04-28 23:23:35 +00:00
lock.c re PR fortran/31201 (Too large unit number generates wrong code) 2007-05-06 22:28:31 +00:00
open.c open.c (test_endfile): Revert changes for 31052, restoring this function. 2007-04-15 01:53:43 +00:00
read.c 2006-11-08 Steven G. Kargl <kargl@gcc.gnu.org> 2006-11-09 03:57:44 +00:00
size_from_kind.c random.c: Include config.h 2005-11-27 17:09:40 -05:00
transfer.c transfer.c (unformatted_read): Use size from front end eliminating use of size_from_real_kind. 2007-05-25 17:41:17 +00:00
unit.c re PR libfortran/31501 (libgfortran internal unit I/O performance issues) 2007-04-28 23:23:35 +00:00
unix.c unix.c (unix_stream): Rearrange struct members, remove small_buffer. 2007-05-26 23:50:21 +03:00
write.c cpu_time.c: Don't include headers already included by libgfortran.h. 2007-04-06 16:47:23 +00:00