gcc/libgfortran/io
Thomas Koenig 59afe4b424 [multiple changes]
2005-04-10  Thomas Koenig <Thomas.Koenig@online.de>

        PR libfortran/17992
        PR libfortran/19568
        PR libfortran/19595
        PR libfortran/20005
        PR libfortran/20092
        PR libfortran/20131
        PR libfortran/20138
        PR libfortran/20661
        PR libfortran/20744
        * io/transfer.c (top level): eor_condition: New static variable.
        (read_sf): Remove unnecessary zeroing of buffer (there is enough
        information in its length).
        Return a string of length 0 (to be padded by caller) if EOR was
        seen previously.
        Remove erroneous special casing of EOR for standard input.
        Set eor_condition for non-advancing I/O if an end of line was
        detected.
        Increment ioparm.size if necessary.
        (formatted_transfer):  Skip the function if there is an EOR condition.
        (data_transfer_init):  Initialize eor_condition to zero (false).
        (next_record_r):  Clear sf_seen_eor if a \n has been seen already.
        (finalize_transfer):  If there is an EOR condition, raise the error.

2005-04-10   Thomas Koenig  <Thomas.Koenig@online.de>

        * eor_handling_1.f90: New test case.
        * eor_handling_2.f90: New test case.
        * eor_handling_3.f90: New test case.
        * eor_handling_4.f90: New test case.
        * eor_handling_5.f90: New test case.
        * noadv_size.f90: New test case.
        * pad_no.f90: New test case.

From-SVN: r97943
2005-04-10 08:35:39 +00:00
..
backspace.c backspace.c (unformatted_backspace): Do not dereference the pointer to the stream. 2005-04-08 19:07:54 +00:00
close.c re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
endfile.c re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
format.c re PR fortran/13257 ([4.0 only] Error instead of warning for missing comma in format string) 2005-04-09 11:44:07 -07:00
inquire.c re PR libfortran/20660 (INQUIRE incorrectly reports the existence of UNITS) 2005-03-31 15:30:06 +00:00
io.h * io.h: Setting higher default record length. 2005-03-16 19:33:07 +00:00
list_read.c re PR libfortran/19678 (DOS files don't work for list directed input) 2005-03-25 13:35:29 +00:00
lock.c re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
open.c re PR libfortran/20163 ([4.0 only] gfortran - error opening direct access file) 2005-03-29 08:37:32 +00:00
read.c re PR libfortran/19524 (5 times uninitialized var in libgfortran) 2005-01-25 22:40:25 +01:00
rewind.c re PR libfortran/19314 (inquire(position=) segfaults at runtime) 2005-01-22 03:51:12 +00:00
transfer.c [multiple changes] 2005-04-10 08:35:39 +00:00
unit.c re PR libfortran/19052 (unit 0 not preconnected to standard error) 2005-01-22 19:14:31 -05:00
unix.c re PR libfortran/19052 (unit 0 not preconnected to standard error) 2005-01-22 19:14:31 -05:00
write.c re PR libfortran/20755 (gfortran - prints the same number with 1p4G12.3 two different ways) 2005-04-05 14:20:10 +00:00