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/29277] Formated stream output: Translate "\n" / achar(10) into "\r\n" on some platforms



------- Comment #9 from jvdelisle at gcc dot gnu dot org  2006-10-18 04:04 -------
Subject: Bug 29277

Author: jvdelisle
Date: Wed Oct 18 04:04:07 2006
New Revision: 117846

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117846
Log:
2006-10-17  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        PR libgfortran/29277
        * io/list_read.c (next_char): Update strm_pos.
        (eat_separator): Delete extra call to unget_char.
        * io/transfer.c (read_block): Use read_sf for formatted stream I/O.
        (next_record_r): Update strm_pos for formatted stream I/O and handle
        end-of-record correctly.
        (next_record_w): Ditto.
        (next_record): Enable next record (r/w) functions and update strm_pos.
        (finalize_transfer): Call next_record to finish the record.

Modified:
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/io/list_read.c
    trunk/libgfortran/io/transfer.c


-- 


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


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