This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33400] Formatted read fails if line ends without line break
- 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: 28 Sep 2007 16:55:19 -0000
- Subject: [Bug fortran/33400] Formatted read fails if line ends without line break
- References: <bug-33400-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from jvdelisle at gcc dot gnu dot org 2007-09-28 16:55 -------
Subject: Bug 33400
Author: jvdelisle
Date: Fri Sep 28 16:55:07 2007
New Revision: 128868
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128868
Log:
2007-09-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/33400
* io/list_read.c (next_char): Interpret encountering the end of file
the
first time as an end of line. Subsequent reads give EOF error.
Modified:
trunk/libgfortran/ChangeLog
trunk/libgfortran/io/list_read.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33400