cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: first 94208 bytes corrupted! (Ubuntu 14)

From: Wagner Patriota <wagner.patriota_at_gmail.com>
Date: Fri, 30 May 2014 19:38:26 -0300

On Thu, May 29, 2014 at 2:44 AM, Dan Fandrich <dan_at_coneharvesters.com>
wrote:

> On Thu, May 29, 2014 at 06:56:36AM +0200, Michael Wood wrote:
> > On 29 May 2014 12:56 AM, "Wagner Patriota" <wagner.patriota_at_gmail.com>
> wrote:
> > >
> > > I can't fsync() a FILE* ... does anybody have any hint on what can be
> done
> > here?
> >
> > Try flush() or fflush()?
>

I tried... it didn't work.

>
> Those don't do the same as fsync; the latter is a kernel call.
> fsync(fileno(my_file)) would work. But if this fixes it, it's clearly a
> kernel
> bug.
>

I tried... it didn't work.

In fact nothing worked! It's a bug! :-(

>
> >>> Dan
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-05-31