Re: fflush()ing libcurl's FILE* for the file:// protocol...
Date: Mon, 8 Oct 2012 22:27:37 +0200 (CEST)
On Mon, 8 Oct 2012, Sebastian Rasmussen wrote:
> Another proposed patch is attached which eliminates the FILE streams, and it
> actually reduces the line count too. I've tested this in my case and for
> whatever reason I no longer need any fsync()...
I like it!
I did some minor polish of it, and I'm attaching my edited version. As this
isn't a bug fix I'm going to wait until after the pending release before I
merge this into the master git branch.
-- / daniel.haxx.se
- TEXT/x-diff attachment: 0001-FILE-Make-upload-writes-unbuffered-by-not-using-FILE.patch