patch.c shrink

Pascal Bellard pascal.bellard at ads-lu.com
Sun Mar 23 08:30:57 PDT 2008


Hello,

Please find attached a patch-file to shrink patch.c code.

function                                             old     new   delta
extract_filename                                      76      80      +4
copy_lines                                            83      82      -1
patch_main                                          1342    1147    -195
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/2 up/down: 4/-196)           Total: -192
bytes
   text    data     bss     dec     hex filename
 660734    2320    9428  672482   a42e2 busybox_old
 660542    2320    9428  672290   a4222 busybox_unstripped

Hope it helps,

-pascal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.u
Type: application/octet-stream
Size: 6018 bytes
Desc: not available
Url : http://busybox.net/lists/busybox/attachments/20080323/63ca10ae/attachment.obj 


More information about the busybox mailing list