OSDN Git Service

2007-12-02 Jerry DeLisle <jvdelisle@gcc.gnu.org>
authorjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 2 Dec 2007 23:17:16 +0000 (23:17 +0000)
committerjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 2 Dec 2007 23:17:16 +0000 (23:17 +0000)
commit960c1329ec362e3da70cdeccf96a74339c3e64dc
treee033e2ccdc3c68de4f1fe77225eb4e3da8a999ca
parentd36c839d1f50f12dbbadb71faf1185d22bb6cf32
2007-12-02  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
    Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfortran/33985
* io/transfer.c (read_block, read_block_direct, write_block, write_buf):
Don't seek if file position is already there for STREAM I/O.
(finalize_transfer): For STREAM I/O don't flush unless the file position
has moved past the start position before the transfer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130574 138bc75d-0d04-0410-961f-82ee72b054a4
libgfortran/ChangeLog
libgfortran/io/transfer.c