This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/29563] Internal read loses data.



------- Comment #4 from jvdelisle at gcc dot gnu dot org  2006-10-26 04:35 -------
Subject: Bug 29563

Author: jvdelisle
Date: Thu Oct 26 04:35:45 2006
New Revision: 118059

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118059
Log:
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.

Modified:
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/io/io.h
    trunk/libgfortran/io/list_read.c
    trunk/libgfortran/io/unit.c


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]