Bruno Haible <[EMAIL PROTECTED]> writes:
> 4) Assume that size_t is not larger than 'unsigned long', and do
>
> printf (_("The size is %lu.\n"), (unsigned long) size);
>
> I personally always use #4.
Yes, that's what I do too. It's not pretty, but the alternatives are
worse. Thanks for the clear explanation of the alternatives
(including why my suggestions weren't all that great....).
> The standards authors probably thought such macros are useless because
> the size specifier 'z' already plays that role.
That doesn't fully explain the omission, since they defined macros
like PRIuMAX even though the size specifier 'j' already plays that role.
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils