cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: problem with curl 7.35 using MinGW

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 11 Feb 2014 22:52:03 +0100 (CET)

On Tue, 11 Feb 2014, LM wrote:

> Was curious to see what the difference was between 7.32 and 7.35. Noticed
> that 7.32 was using strtoul and 7.35 defines curlx_strtoofft as strtoll.
> Added the following patch below and the page downloads fine again as do the
> other pages I was testing.

Thanks!

Now this change is very curious to me. Isn't curl_off_t a full 64bit type for
you on mingw?

curlx_strtoofft was not changed in 7.32 => 7.35, what was changed is that I
made the HTTP chunked decoder to handle 64bit sized chunks so the code now
uses curlx_strtoofft() to parse the number to make it properly 64/32 bit
aware.

I'm puzzled why this causes a problem for you, as we use curlx_strtoofft() on
several other places in the code so if this is wrong...

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