busybox/shell/hush_test/hush-getopts
Denys Vlasenko 238ff98bb8 hush: fix "getopts" builtin to not be upset by other builtins calling getopt()
function                                             old     new   delta
builtin_getopts                                      363     403     +40
unset_local_var_len                                  185     215     +30
set_local_var                                        440     466     +26
reset_traps_to_defaults                              151     157      +6
pseudo_exec_argv                                     320     326      +6
install_special_sighandlers                           52      58      +6
pick_sighandler                                       62      65      +3
execvp_or_die                                         85      88      +3
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 8/0 up/down: 120/0)             Total: 120 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2017-08-29 13:38:30 +02:00
..
getopt_nested.right hush: fix "getopts" builtin to not be upset by other builtins calling getopt() 2017-08-29 13:38:30 +02:00
getopt_nested.tests hush: fix "getopts" builtin to not be upset by other builtins calling getopt() 2017-08-29 13:38:30 +02:00
getopt_optarg.right hush: teach getopts to set/unset OPTARG 2017-08-11 02:05:21 +02:00
getopt_optarg.tests shell: tweak getopts tests, no code changes 2017-08-13 02:59:00 +02:00
getopt_positional.right
getopt_positional.tests shell: tweak getopts tests, no code changes 2017-08-13 02:59:00 +02:00
getopt_silent.right hush: implement "silent" optstrings of ":opts" 2017-08-11 17:21:14 +02:00
getopt_silent.tests shell: tweak getopts tests, no code changes 2017-08-13 02:59:00 +02:00
getopt_simple.right
getopt_simple.tests shell: tweak getopts tests, no code changes 2017-08-13 02:59:00 +02:00
getopt_test_libc_bug.right hush: add a test which fails due to uclibc bug in getopt() 2017-08-11 17:00:39 +02:00
getopt_test_libc_bug.tests shell: tweak getopts tests, no code changes 2017-08-13 02:59:00 +02:00