[patch] WORDSIZE dependant printf length modifiers

Bernhard Fischer rep.nop at aon.at
Wed Apr 5 13:49:31 UTC 2006


On Wed, Apr 05, 2006 at 01:23:09PM +0200, Aurelien Jacobs wrote:
>On Wed, 5 Apr 2006 13:08:31 +0200
>Bernhard Fischer <rep.nop at aon.at> wrote:
>
>> On Wed, Apr 05, 2006 at 10:30:15AM +0200, Bernhard Fischer wrote:
>> >Hi,
>> >
>> >single-applet buildlog for trunk, r14744
>> 
>> The attached proposed patch would use the proper length modifiers
>> depending on the wordsize.
>> 
>> The reasoning behind this is that uintmax_t depends on the wordsize.
>> 
>> Comments? Ok for trunk?
>
>Why not using the standard C99 macros defined in inttypes.h instead
>of redifining your owns ?
>PRIuMAX should be fine for uintmax_t.

Yes, that's even better.



More information about the busybox mailing list