fix read_cmdline API and a small buglet where "[comm]" may be too narrow
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 11 Sep 2009 22:15:34 +0000 (00:15 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 11 Sep 2009 22:15:34 +0000 (00:15 +0200)
commit3a0f6f23286ad4352830613c6a8aea1bd56ca2d2
tree6781fe0614bf8a544550535abca7897468bae970
parentae357bd7138a179a1433b7d6e1aca48cc6438966
fix read_cmdline API and a small buglet where "[comm]" may be too narrow

function                                             old     new   delta
func_args                                             25      26      +1
read_cmdline                                         119     114      -5
display_process_list                                1462    1447     -15
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/2 up/down: 1/-20)             Total: -19 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
include/libbb.h
libbb/procps.c
procps/ps.c
procps/top.c