printf: fix printf "%u\n" +18446744073709551614
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 30 Oct 2018 22:24:18 +0000 (23:24 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 30 Oct 2018 22:24:18 +0000 (23:24 +0100)
commit93ef5dd640ef41edc72c80fa59c7cc9427b5945b
treeed0a5c83cea2a34a7603cb5ff565fc82f92f31ea
parent63d053d8c3e991d86cbacccb9ba6ff03aedee5cd
printf: fix printf "%u\n" +18446744073709551614

function                                             old     new   delta
conv_strtoll                                          19      32     +13
conv_strtoull                                         49      61     +12
bb_strtoll                                            89      84      -5
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/1 up/down: 25/-5)              Total: 20 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
coreutils/printf.c
libbb/bb_strtonum.c