diff options
author | jvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-11 20:43:25 +0000 |
---|---|---|
committer | jvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-11 20:43:25 +0000 |
commit | 9a43d9caaaeaf7fd59557735967ad6029b1b3c50 (patch) | |
tree | 32270d72dec4236895613db1add2262290ef5091 | |
parent | 77009a9ec3b3378fa660c982b3a3d0c5723b1517 (diff) | |
download | gcc-9a43d9caaaeaf7fd59557735967ad6029b1b3c50.tar.gz |
2010-07-11 Kai Tietz <kai.tietz@onevision.com>
PR libfortran/44698
* io/unix.c (flush_buf): Add _commit for WIN32.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162060 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | libgfortran/ChangeLog | 5 | ||||
-rw-r--r-- | libgfortran/io/unix.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 9a523d5eb82..943e8e1db51 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,8 @@ +2010-07-11 Kai Tietz <kai.tietz@onevision.com> + + PR libfortran/44698 + * io/unix.c (flush_buf): Add _commit for WIN32. + 2010-06-28 Tobias Burnus <burnus@net-b.de> PR fortran/43298 diff --git a/libgfortran/io/unix.c b/libgfortran/io/unix.c index f0cd3b9b16c..afa5f453bd2 100644 --- a/libgfortran/io/unix.c +++ b/libgfortran/io/unix.c @@ -405,6 +405,10 @@ buf_flush (unix_stream * s) if (s->ndirty != 0) return -1; +#ifdef _WIN32 + _commit (s->fd); +#endif + return 0; } |