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/31052] Bad IOSTAT values when readings NAMELISTs past EOF



------- Comment #39 from jvdelisle at gcc dot gnu dot org  2007-04-01 18:32 -------
Subject: Bug 31052

Author: jvdelisle
Date: Sun Apr  1 18:32:20 2007
New Revision: 123403

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123403
Log:
2007-04-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        PR libgfortran/31052
        * io/open.c (test_endfile): Delete this function.
        (edit_modes): Delete call to test_endfile.
        (new_unit): Likewise.
        * io/io.h: Delete prototype for test_endfile.
        * io/transfer.c (next_record_r): Remove use of test_endfile.
        (st_read):  Add test for end file condition and adjust status. 

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


-- 


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


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