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 libfortran/24699] READ with T format specifier fails on end-of-record condition



------- Comment #1 from jvdelisle at gcc dot gnu dot org  2005-11-11 20:19 -------
Subject: Bug 24699

Author: jvdelisle
Date: Fri Nov 11 20:19:21 2005
New Revision: 106797

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

        PR libgfortran/24699, 24700, 24719, 24785
        * io/transfer.c (read_sf): Remove incorrect statement that was
        clearing bytes_left.
        (formatted_transfer_scalar): Add handling of end-of-record
        condition, setting values correctly to backup.  Handle x format
        when doing non-advancing write.
        (st_read): Initialize current_record.

Modified:
    trunk/libgfortran/io/transfer.c


-- 


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


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