diff options
author | Martin Lewis <martin.lewis.x84@gmail.com> | 2020-08-04 17:27:16 -0500 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2020-08-13 16:48:07 +0200 |
commit | 9914d8b861a0edb42051bd68a37bceb0562daa70 (patch) | |
tree | 0dcf241083f2c6258ad0506cf26a12f72c27886f /shell/hush_test/hush-signals/sigquit_exec.right | |
parent | 8a485b0a363935309f976866b8a30988362fadc0 (diff) | |
download | busybox-9914d8b861a0edb42051bd68a37bceb0562daa70.tar.gz |
udhcpc: add support for long options
Duplicate options are currently overridden (only the last option is kept).
This leads to unexpected behavior when using long options.
The patch adds support for long options in compliance with RFC 3396.
Fixes #13136.
function old new delta
udhcp_run_script 601 725 +124
optitem_unset_env_and_free - 38 +38
putenvp 46 59 +13
static.xmalloc_optname_optval 718 717 -1
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 2/1 up/down: 175/-1) Total: 174 bytes
Signed-off-by: Martin Lewis <martin.lewis.x84@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test/hush-signals/sigquit_exec.right')
0 files changed, 0 insertions, 0 deletions