On Wed, 12 Jun 2013 00:23:36 -0400, Walter Bright <newshou...@digitalmars.com> wrote:

On 6/11/2013 8:55 PM, Steven Schveighoffer wrote:

Note, it's only done once, the very first time anything is written. The rest of
the time, flushing follows normal procedure.

In effect, the first write confirms the FD is valid, then all writes after
assume it stays valid.

I don't agree. Buffering is often done on page size boundaries - throwing out a random number of characters and then flushing will get it all wonky.

What? You only flush the 'random number' of characters once, the rest of the time you are flushing full buffers. Where is the issue?

Or do you have a specific application in mind?

-Steve

Reply via email to