curl-library
Re: fflush()ing libcurl's FILE* for the file:// protocol...
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 8 Oct 2012 22:27:37 +0200 (CEST)
Received on 2012-10-08
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
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
- TEXT/x-diff attachment: 0001-FILE-Make-upload-writes-unbuffered-by-not-using-FILE.patch