aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/io/unix.c
diff options
context:
space:
mode:
authorJanne Blomqvist <jb@gcc.gnu.org>2011-11-09 17:46:15 +0200
committerJanne Blomqvist <jb@gcc.gnu.org>2011-11-09 17:46:15 +0200
commited10039e8bd1f3a2887429aaa7943a4f7257ee54 (patch)
tree4142f4ba491843be305a43bdb525fc03d316eb91 /libgfortran/io/unix.c
parent26833b3de72bba8da5516e47a2da4fe73f5d1478 (diff)
downloadgcc-ed10039e8bd1f3a2887429aaa7943a4f7257ee54.zip
gcc-ed10039e8bd1f3a2887429aaa7943a4f7257ee54.tar.gz
gcc-ed10039e8bd1f3a2887429aaa7943a4f7257ee54.tar.bz2
PR 50016 Slow I/O on MingW due to _commit
frontend ChangeLog: 2011-11-09 Janne Blomqvist <jb@gcc.gnu.org> PR libfortran/50016 * gfortran.texi (Data consistency and durability): New section. testsuite ChangeLog: 2011-11-09 Janne Blomqvist <jb@gcc.gnu.org> PR libfortran/50016 * gfortran.dg/inquire_size.f90: Don't flush the unit. libgfortran ChangeLog: 2011-11-09 Janne Blomqvist <jb@gcc.gnu.org> PR libfortran/50016 * io/inquire.c (inquire_via_unit): Flush the unit and use ssize. * io/unix.c (buf_flush): Don't call _commit. From-SVN: r181207
Diffstat (limited to 'libgfortran/io/unix.c')
-rw-r--r--libgfortran/io/unix.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libgfortran/io/unix.c b/libgfortran/io/unix.c
index c87be13..f320733 100644
--- a/libgfortran/io/unix.c
+++ b/libgfortran/io/unix.c
@@ -451,10 +451,6 @@ buf_flush (unix_stream * s)
if (s->ndirty != 0)
return -1;
-#ifdef _WIN32
- _commit (s->fd);
-#endif
-
return 0;
}