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 #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


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