[Bug fortran/41328] [4.4, 4.5 regression] bad iostat when reading DOS file in a character array (non-advancing)

jvdelisle at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Sep 19 04:42:00 GMT 2009



------- Comment #9 from jvdelisle at gcc dot gnu dot org  2009-09-19 04:42 -------
Subject: Bug 41328

Author: jvdelisle
Date: Sat Sep 19 04:41:38 2009
New Revision: 151877

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151877
Log:
2009-09-18  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        PR libgfortran/41328
        * io/transfer.c (read_sf): Set at_eof flag on short read if any
        characters were successfully read so that EOF condition with no EOR
        marker succeeds.

Modified:
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/io/transfer.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41328



More information about the Gcc-bugs mailing list