[PATCH] who: add -a switch and size reduction

Tito farmatito at tiscali.it
Thu Nov 15 22:26:18 UTC 2007


Hi,
this patch adds -a switch to who.c and adds the relative help text to usage.h.
Size increase is not very big as i simplified some text in the help message. 

scripts/bloat-o-meter busybox_old busybox_unstripped
function                                             old     new   delta
who_main                                             271     298     +27
packed_usage                                       23057   23048      -9
.rodata                                           118922  118913      -9
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/2 up/down: 27/-18)              Total: 9 bytes

The patch is trivial and tested.

Ciao,
Tito
-------------- next part --------------
A non-text attachment was scrubbed...
Name: who.patch
Type: text/x-diff
Size: 1108 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20071115/624e9f80/attachment-0002.bin 


More information about the busybox mailing list