This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/57633] I/O: Problem with formatted read: reading CR-LF files (\r\n)
- From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 18 Jun 2013 01:38:25 +0000
- Subject: [Bug fortran/57633] I/O: Problem with formatted read: reading CR-LF files (\r\n)
- Auto-submitted: auto-generated
- References: <bug-57633-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57633
--- Comment #4 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
We need to audit all places where '\n' is used and make sure we are taking care
of the '\r' properly in read.c , etc.
Then review what were are doing when we get a premature end of record.
Maybe we are skipping a code path related to read buffers, like fbuf.