diff options
author | Janne Blomqvist <jb@gcc.gnu.org> | 2014-06-08 08:43:29 +0300 |
---|---|---|
committer | Janne Blomqvist <jb@gcc.gnu.org> | 2014-06-08 08:43:29 +0300 |
commit | 89a862b40a387ef42618176addf192b33c556f7d (patch) | |
tree | ce7c2693e80de90ba4a312ca3616c556a673856e /libgfortran/ChangeLog | |
parent | 136a5f4548a68455967a2f4b9eab4b3f78fff6d3 (diff) | |
download | gcc-89a862b40a387ef42618176addf192b33c556f7d.zip gcc-89a862b40a387ef42618176addf192b33c556f7d.tar.gz gcc-89a862b40a387ef42618176addf192b33c556f7d.tar.bz2 |
PR 56981 Flush buffer at record boundary if possible.
2014-06-08 Janne Blomqvist <jb@gcc.gnu.org>
PR libfortran/56981
* io/unix.h (struct stream_vtable): Add new member function,
markeor.
(smarkeor): New inline function.
(flush_if_unbuffered): Remove prototype.
* io/unix.c (raw_markeor): New function.
(raw_vtable): Initialize markeor member.
(buf_markeor): New function.
(buf_vtable): Initialize markeor member.
(mem_vtable): Likewise.
(mem4_vtable): Likewise.
(flush_if_unbuffered): Remove function.
* io/transfer.c (next_record): Call smarkeor instead of
flush_if_unbuffered.
From-SVN: r211353
Diffstat (limited to 'libgfortran/ChangeLog')
-rw-r--r-- | libgfortran/ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 5f9ddaf..9d75329 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,20 @@ +2014-06-08 Janne Blomqvist <jb@gcc.gnu.org> + + PR libfortran/56981 + * io/unix.h (struct stream_vtable): Add new member function, + markeor. + (smarkeor): New inline function. + (flush_if_unbuffered): Remove prototype. + * io/unix.c (raw_markeor): New function. + (raw_vtable): Initialize markeor member. + (buf_markeor): New function. + (buf_vtable): Initialize markeor member. + (mem_vtable): Likewise. + (mem4_vtable): Likewise. + (flush_if_unbuffered): Remove function. + * io/transfer.c (next_record): Call smarkeor instead of + flush_if_unbuffered. + 2014-05-27 Uros Bizjak <ubizjak@gmail.com> * intrinsics/getcwd.c: Include stdlib.h. |