cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: FTP resume libcurl 7.15 to 7.37

From: TJ Saunders <tj_at_castaglia.org>
Date: Tue, 7 Oct 2014 11:11:07 -0700 (PDT)

> On Tue, 7 Oct 2014, Bentham, Dave wrote:
>
> > Now I found this in curlbuild.h:
> >
> > /* curl_off_t formatting string directive without "%" conversion specifier.
> */
> > #define CURL_FORMAT_CURL_OFF_T "lld "
> >
> > /* unsigned curl_off_t formatting string without "%" conversion specifier.
> */
> > #define CURL_FORMAT_CURL_OFF_TU "lld "
>
> Yes, as %lld and %llu are what 32 bit systems use that support "long long"
> arguments like curl_off_t. If you're using a system where curl_off_t is but a
> regular long, then change those defines!

That part is understandable, but why do these #defines include a trailing
space character in the format specification?

Cheers,
TJ

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

   The last temptation is the greatest treason:
   To do the right deed for the wrong reason.

     -T.S. Eliot

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