diff options
author | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2006-10-18 04:04:07 +0000 |
---|---|---|
committer | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2006-10-18 04:04:07 +0000 |
commit | 09861cbee63a833e24b235a82432f2086f993624 (patch) | |
tree | 32a8585b113c945c9bf5f0685a23c94df5622e73 /libgfortran/runtime | |
parent | 6bc222ff7454812e7dd043f42b6724c283d3d689 (diff) | |
download | gcc-09861cbee63a833e24b235a82432f2086f993624.zip gcc-09861cbee63a833e24b235a82432f2086f993624.tar.gz gcc-09861cbee63a833e24b235a82432f2086f993624.tar.bz2 |
re PR fortran/29277 (Formated stream output: Translate "\n" / achar(10) into "\r\n" on some platforms)
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.
From-SVN: r117846
Diffstat (limited to 'libgfortran/runtime')
0 files changed, 0 insertions, 0 deletions