------- Comment #6 from ktietz at gcc dot gnu dot org  2010-06-29 20:24 -------
(In reply to comment #5)
> One possible cause of this problem is that in configuration there could be
> something going wrong with stat functions returning 32-bit vs 64-bit values.  

This seems not to be the issue here. sys/stat.h includes sys/types.h, so there
is no need to put it in front explicit.

The issue is that Windows C-runtimes uses OS buffer File I/O, which means that
data will be written just when page-size (4k) is full. By calling _commit,
which is like fsync, it is forced that buffer gets physical written to disk.

Kai


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44698

Reply via email to