[PATCH 1/2] Udhcpc: add an option to skip updating resolv.conf

Lauri Kasanen curaga at operamail.com
Thu Oct 7 16:05:57 UTC 2010


Greetings


Doing a straight putenv from main would have been smaller, would that way be preferred?

Currently it's through client_config and fill_envp as are the other environment vars.

function                                             old     new   delta
udhcp_run_script                                     693     741     +48
.rodata                                             4492    4533     +41
packed_usage                                         756     779     +23
static.udhcpc_longopts                               261     270      +9
udhcpc_main                                         2998    2980     -18
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/1 up/down: 121/-18)           Total: 103 bytes

- Lauri

-- 
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 9 at http://www.opera.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Udhcpc-add-an-option-to-skip-updating-resolv.conf.patch
Type: application/octet-stream
Size: 4136 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20101007/79dbfa36/attachment.obj>


More information about the busybox mailing list