On 6/11/13 10:07 PM, Steven Schveighoffer wrote:
On Tue, 11 Jun 2013 17:36:24 -0400, Denis Koroskin <2kor...@gmail.com>
wrote:
The best solution would be for writeln() to throw on use, and I think
it's fairly easy to implement: just flush once after using the file
descriptor for the first time, and throw if it fails.

This is a good idea.

I think you meant "just flush once after using the FILE * for the first
time"

-Steve

Yah, but now we're looking at extra state associated with each file etc. Also it's kind of unexpected.

Andrei

Reply via email to