[PATCH] Improve portability

Dan Fandrich dan at coneharvesters.com
Wed Sep 9 23:56:30 UTC 2009


On Wed, Sep 09, 2009 at 11:14:46PM +0200, Denys Vlasenko wrote:
> After compiling patched source:
> 
> # make bloat
> function                                             old     new   delta
> display_process_list                                1462    1465      +3
> ------------------------------------------------------------------------------
> (add/remove: 0/0 grow/shrink: 1/0 up/down: 3/0)                 Total: 3 bytes
> 
> Not applied. Can you provide a patch which does not increase code size?

The only remaining patch I see is on procps/top.c and bloatcheck for me
(gcc 4.2.2 on i386) actually shows a size /decrease/ with the patch:

function                                             old     new   delta
display_cpus                                         714     702     -12
display_process_list                                1082    1036     -46
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-58)             Total: -58 bytes

>>> Dan
-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 288 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20090909/3a617adb/attachment.pgp>


More information about the busybox mailing list