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 #18 from jvdelisle at gcc dot gnu dot org  2007-03-18 18:14 -------
Subject: Bug 31052

Author: jvdelisle
Date: Sun Mar 18 18:13:50 2007
New Revision: 123038

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

        PR libgfortran/31052
        * io/file_position (st_rewind): Fix comments. Remove use of
        test_endfile. Don't seek if already at 0 position.  Use new is_special
        function to set endfile state.
        * io/open.c (test_endfile): Delete this function.
        * io/io.h: Delete prototype for test_endfile.  Add prototype
        for is_special.
        * io/unix.c (is_special): New function. Fix whitespace.
        * io/transfer.c (next_record_r): Remove use of test_endfile.

Modified:
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/io/file_pos.c
    trunk/libgfortran/io/io.h
    trunk/libgfortran/io/open.c
    trunk/libgfortran/io/transfer.c
    trunk/libgfortran/io/unix.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]