[ Moving discussion to [EMAIL PROTECTED] ]

"Gisle Vanem" <[EMAIL PROTECTED]> writes:

> "Hrvoje Niksic" <[EMAIL PROTECTED]> said:
>
>> Supporting large files in a really portable manner is unfortunately
>> not trivial.
>
> It's not that hard. Look at how we did this in libcurl; basically
> some define trickery;
>   #define FILE_OFF_T 32/64 bit unsigned

Fair enough.  But isn't off_t signed?

>   #define FILE_OFF_FMT  "%llu" or "%Lu"

How does gettext cope with that?  For example, this string is what
worries me:

    printf (_("The file is " FILE_OFF_FMT " octets long.\n"), size);

Reply via email to