gcc/libgfortran/io
Bud Davis bf1df0a046 re PR libfortran/15472 (implicit open for unformatted file causes run-time error)
2004-07-04  Bud Davis  <bdavis9659@comcast.net>
            Paul Brook  <paul@codesourcery.com>

        PR fortran/15472
        * io/transfer.c(us_write): set recl for seq unform writes to max size.
        * io/transfer.c(data_transfer_init): handle un-opened seq unform unit.
        * io/unix.c(fd_alloc_w_at): handle requests at start, fd_flush at
          right time.
        * io/unix.c(is_seekable): set based upon the file/device, not the
          method being used to access it (fd or mmap).
        * io/unix.c(fd_flush): don't set file_size if !seekable.
        * io/unix.c(fd_truncate: ditto.
        * gfortran.fortran-torture/execute/seq_io.f90: New test.

Co-Authored-By: Paul Brook <paul@codesourcery.com>

From-SVN: r84104
2004-07-05 01:19:08 +00:00
..
backspace.c re PR libfortran/15755 (gfortran: backspace call causes bus error) 2004-06-09 00:55:04 +00:00
close.c re PR libfortran/15234 (libgfortran doesn't compile on Tru64 UNIX V4.0F) 2004-05-15 22:44:38 +02:00
endfile.c re PR libfortran/15234 (libgfortran doesn't compile on Tru64 UNIX V4.0F) 2004-05-15 22:44:38 +02:00
format.c io.c (check_format): As a GNU extension... 2004-05-21 21:37:25 +00:00
inquire.c re PR fortran/15750 (IOLENGTH form of INQUIRE statement not implemented) 2004-06-22 00:43:55 +00:00
io.h re PR fortran/15750 (IOLENGTH form of INQUIRE statement not implemented) 2004-06-22 00:43:55 +00:00
list_read.c re PR libfortran/16080 (segmentation fault when reading empty string) 2004-06-19 17:03:16 +00:00
lock.c
open.c re PR libfortran/15234 (libgfortran doesn't compile on Tru64 UNIX V4.0F) 2004-05-15 22:44:38 +02:00
read.c
rewind.c re PR libfortran/15234 (libgfortran doesn't compile on Tru64 UNIX V4.0F) 2004-05-15 22:44:38 +02:00
transfer.c re PR libfortran/15472 (implicit open for unformatted file causes run-time error) 2004-07-05 01:19:08 +00:00
unit.c re PR libfortran/15235 (libgfortran doesn't build on Solaris 10) 2004-05-18 18:06:09 +02:00
unix.c re PR libfortran/15472 (implicit open for unformatted file causes run-time error) 2004-07-05 01:19:08 +00:00
write.c re PR libfortran/12839 (incorrect IO of Inf) 2004-06-28 01:30:26 +00:00