re PR libfortran/26499 (gfortran - End of File incorrectly positioned after binary...
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Fri, 10 Mar 2006 03:15:36 +0000 (03:15 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Fri, 10 Mar 2006 03:15:36 +0000 (03:15 +0000)
commit99c6db71de9460b2dac78b31e91ca279f6a50865
tree5d99f9aecf1933262d78a6b92507191c382b4017
parentd1781ab0f5ec5929a1f2eef0a3b4ae6fdb0bf2e3
re PR libfortran/26499 (gfortran - End of File incorrectly positioned after binary I/O.)

2006-03-09  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/26499
* io/file_pos (st_rewind): Flush always.
* io/unix.c (fd_truncate): Return SUCCESS rather than FAILURE for
special files like /dev/null.
* io/transfer.c (st_write_done): Remove broken logic that prevented
calling fd_truncate.

From-SVN: r111924
libgfortran/ChangeLog
libgfortran/io/file_pos.c
libgfortran/io/transfer.c
libgfortran/io/unix.c