printf: fix %b, fix several bugs in %*.*, fix compat issues with
authorDenis Vlasenko <vda.linux@googlemail.com>
Fri, 18 Jul 2008 11:10:51 +0000 (11:10 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Fri, 18 Jul 2008 11:10:51 +0000 (11:10 -0000)
commita48656b441224a53d2bb3face920ba5487eaae09
tree5120d90a6cd45463e5a7f358d6e01ab6d6e34c61
parent1a715e487dc6b37a996ff3041c332765dbba45a7
printf: fix %b, fix several bugs in %*.*, fix compat issues with
 aborting too early, support %zd; expand testsuite

function                                             old     new   delta
get_width_prec                                         -      46     +46
multiconvert                                          82      99     +17
conv_strtod                                           44      54     +10
print_direc                                          382     391      +9
printf_main                                          629     633      +4
conv_strtoul                                          20      16      -4
conv_strtol                                           20      16      -4
my_xstrtoul                                           20       -     -20
my_xstrtol                                            20       -     -20
my_xstrtod                                            21       -     -21
------------------------------------------------------------------------------
(add/remove: 1/3 grow/shrink: 4/2 up/down: 86/-69)             Total: 17 bytes
coreutils/printf.c
testsuite/printf.tests