https://issues.dlang.org/show_bug.cgi?id=13651
--- Comment #4 from Vladimir Panteleev <[email protected]> --- Yes. The program I posted throws an exception because fwrite returns a number (bytes written) smaller than the size of the data. According to its documentation, this indicates a write error. I've tried modifying std.stdio to retry incomplete fwrites with the remaining data segment, but although now no exception is thrown, the output is corrupted (some data is repeated). --
