------- Comment #3 from ktietz at gcc dot gnu dot org  2010-06-28 17:27 -------
Created an attachment (id=21030)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21030&action=view)
Patch for mingw x86/x64 targets

This patch fixes for me the problem by calling in raw_flush and in buf_flush
the '_commit' crt function. It takes care that internal file-data gets written,
so that afterwards fstat will get the proper size.

PS: Sorry for the whitespace changes, but my editor removes trailing
whitespaces automatically (if wished I can remove them for final patch)

Regards,
Kai


-- 


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

Reply via email to