http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50016
--- Comment #17 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-10-19 17:27:08 UTC --- Author: burnus Date: Wed Oct 19 17:27:03 2011 New Revision: 180199 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180199 Log: 2011-10-19 Janne Blomqvist <j...@gcc.gnu.org> Kai Tietz <kti...@redhat.com> Tobias Burnus <bur...@net-b.de> PR fortran/50016 * io/unix.h (flush_sync): Add new libgfortran-internal * prototype. * io/unix.c (flush_sync): New function, which calls sflush and on MinGW(-w64) also _commit. (flush_all_units, flush_all_units_1): Replace sflush/_commit by flush_sync. * io/file_pos.c (st_flush): Replace sflush/_commit by * flush_sync. * io/intrinsics.c (flush_i4, flush_i8): Ditto. Modified: branches/gcc-4_6-branch/libgfortran/ChangeLog branches/gcc-4_6-branch/libgfortran/io/file_pos.c branches/gcc-4_6-branch/libgfortran/io/intrinsics.c branches/gcc-4_6-branch/libgfortran/io/unix.c branches/gcc-4_6-branch/libgfortran/io/unix.h