stat: code shrink; stop using bss; stop using strncat incorrectly
authorDenis Vlasenko <vda.linux@googlemail.com>
Fri, 5 Oct 2007 20:31:23 +0000 (20:31 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Fri, 5 Oct 2007 20:31:23 +0000 (20:31 -0000)
commit91e520320510fe4c535eaf26ff24de44d2a55c66
tree9dc96702b363184e260ab7631d8683cf64022afe
parent91e80c2be7d53b116ef23072ecaa89168b8e5bfc
stat: code shrink; stop using bss; stop using strncat incorrectly

function                                             old     new   delta
printfs                                                -      28     +28
strcatc                                                -      26     +26
human_time                                            41      44      +3
print_it                                             229     219     -10
buf                                                   30       -     -30
print_statfs                                         420     358     -62
print_stat                                          1089     921    -168
------------------------------------------------------------------------------
(add/remove: 2/1 grow/shrink: 1/3 up/down: 57/-270)          Total: -213 bytes
   text    data     bss     dec     hex filename
 771105    1029    9552  781686   bed76 busybox_old
 770892    1029    9520  781441   bec81 busybox_unstripped
coreutils/stat.c