------- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-09-04 06:30 ------- I think this is a dup of PR23262 (although I don't have windows booted right now, and cannot check): rewind used to truncate files.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23483