syslogd,logread: get rid of head pointer, fix logread bug in the process
authorDenis Vlasenko <vda.linux@googlemail.com>
Sun, 12 Aug 2007 21:33:06 +0000 (21:33 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sun, 12 Aug 2007 21:33:06 +0000 (21:33 -0000)
commit5f1b149d541ebba7cab841cb647f113248f9fb8f
treee7f962fba89b6e201b4c857e32d85c9671b3db0d
parent1b9064d5355b5c26676e8447a1900116066e42e4
syslogd,logread: get rid of head pointer, fix logread bug in the process

function                                             old     new   delta
logread_main                                         450     462     +12
syslogd_main                                        1246    1252      +6
shbuf                                                  -       4      +4
buf                                                   34      30      -4
packed_usage                                       22729   22724      -5
log_locally                                          957     767    -190
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 2/3 up/down: 22/-199)          Total: -177 bytes
   text    data     bss     dec     hex filename
 773886    1116   11316  786318   bff8e busybox_old
 773714    1116   11316  786146   bfee2 busybox_unstripped
include/usage.h
sysklogd/logread.c
sysklogd/syslogd.c