This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29563] Internal read loses data.
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Oct 2006 01:04:15 -0000
- Subject: [Bug fortran/29563] Internal read loses data.
- References: <bug-29563-9178@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from jvdelisle at gcc dot gnu dot org 2006-10-27 01:04 -------
Subject: Bug 29563
Author: jvdelisle
Date: Fri Oct 27 01:04:02 2006
New Revision: 118079
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118079
Log:
2006-10-26 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.
Modified:
branches/gcc-4_2-branch/libgfortran/ChangeLog
branches/gcc-4_2-branch/libgfortran/io/io.h
branches/gcc-4_2-branch/libgfortran/io/list_read.c
branches/gcc-4_2-branch/libgfortran/io/unit.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29563