gcc/libgfortran/io
Janne Blomqvist c033f5ae32 PR 56981 Improve unbuffered performance on special files.
2013-04-29  Janne Blomqvist  <jb@gcc.gnu.org>

        PR fortran/56981
        * io/transfer.c (next_record_w_unf): First fix head marker, then
        write tail.
        (next_record): Call flush_if_unbuffered.
        * io/unix.c (struct unix_stream): Add field unbuffered.
        (flush_if_unbuffered): New function.
        (fd_to_stream): New argument.
        (open_external): Fix fd_to_stream call.
        (input_stream): Likewise.
        (output_stream): Likewise.
        (error_stream): Likewise.
        * io/unix.h (flush_if_unbuffered): New prototype.

From-SVN: r198390
2013-04-29 11:42:00 +03:00
..
close.c Update copyright years in libgfortran. 2013-01-14 18:20:58 +00:00
fbuf.c Update copyright years in libgfortran. 2013-01-14 18:20:58 +00:00
fbuf.h Update copyright years in libgfortran. 2013-01-14 18:20:58 +00:00
file_pos.c Improve performance of byte-swapped I/O. 2013-01-23 23:56:54 +02:00
format.c re PR libfortran/56737 (Wrong I/O result with format cache for Hollerith strings) 2013-03-29 10:39:47 +01:00
format.h Update copyright years in libgfortran. 2013-01-14 18:20:58 +00:00
inquire.c Update copyright years in libgfortran. 2013-01-14 18:20:58 +00:00
intrinsics.c Update copyright years in libgfortran. 2013-01-14 18:20:58 +00:00
io.h Improve performance of byte-swapped I/O. 2013-01-23 23:56:54 +02:00
list_read.c list_read.c (finish_separator): Initialize variable. 2013-04-15 14:45:06 +02:00
lock.c Update copyright years in libgfortran. 2013-01-14 18:20:58 +00:00
open.c re PR libfortran/48618 (Negative unit number in OPEN(...) is sometimes allowed) 2013-03-20 08:45:49 +01:00
read.c Update copyright years in libgfortran. 2013-01-14 18:20:58 +00:00
size_from_kind.c Update copyright years in libgfortran. 2013-01-14 18:20:58 +00:00
transfer.c PR 56981 Improve unbuffered performance on special files. 2013-04-29 11:42:00 +03:00
transfer128.c Update copyright years in libgfortran. 2013-01-14 18:20:58 +00:00
unit.c Update copyright years in libgfortran. 2013-01-14 18:20:58 +00:00
unix.c PR 56981 Improve unbuffered performance on special files. 2013-04-29 11:42:00 +03:00
unix.h PR 56981 Improve unbuffered performance on special files. 2013-04-29 11:42:00 +03:00
write.c Use C99 bool instead of enum try. 2013-03-19 13:13:32 +02:00
write_float.def Use C99 bool instead of enum try. 2013-03-19 13:13:32 +02:00