curl-library
Re: FTP resume libcurl 7.15 to 7.37
Date: Thu, 9 Oct 2014 08:49:01 +0200
On Tue, Oct 07, 2014 at 08:17:03PM +0200, Daniel Stenberg wrote:
> On Tue, 7 Oct 2014, TJ Saunders wrote:
>
> >That part is understandable, but why do these #defines include a
> >trailing space character in the format specification?
>
> Blah, I didn't even notice that because I was too busy looking at the
> double ells!
>
> It's pretty weird actually as the script that detects and sets those
> defines is the same script we all run and it never adds any spaces in
> other cases! (to my knowledge at least)
>
> The function is CURL_CONFIGURE_CURL_OFF_T in acinclude.m4 and I can't
> see where it would add a space given a quick look just now.
The code path that includes DO_CURL_OFF_T_CHECK and CURL_CHECK_DEF is pretty
hairy with lots of sed operations. I can't quite wrap my brain around all those
macros right now but it wouldn't surprise me if a space gets added or fails to
get removed in there somewhere.
>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-10-09