]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/29563 (Internal read loses data.)
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Thu, 26 Oct 2006 04:35:45 +0000 (04:35 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Thu, 26 Oct 2006 04:35:45 +0000 (04:35 +0000)
commit807fb853ee3a10c5ce2f5ed52d3c84ede3dbbd2a
tree47c5d1a5bbaf45540c19e9a7ef06f27799fc240b
parent7445de0a7b7dceda90638c48bc7933271f3ca5ce
re PR fortran/29563 (Internal read loses data.)

2006-10-25  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/29563
* io/io.h (st_parameter_dt): Add new flag at_eof.
* io/list_read.c (next_char): Set flag when EOF and return '\n' to
signal EOR.  Check flag on next call and jump out.
* io/unit.c (get_internal_unit): Initialize new flag.

From-SVN: r118059
libgfortran/ChangeLog
libgfortran/io/io.h
libgfortran/io/list_read.c
libgfortran/io/unit.c