diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-19 23:09:06 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-19 23:09:06 +0200 |
commit | 3ef4f77620a9f5f9a7c1247e29ea9c14e07b8a30 (patch) | |
tree | d0d3d5c73b535ff2db54267fc941e79391770ef3 /shell/hush_test/hush-vars | |
parent | a8df4c09fbc1daae502a887c47a7bb35d28e8991 (diff) | |
download | busybox-3ef4f77620a9f5f9a7c1247e29ea9c14e07b8a30.tar.gz |
hush: fix exec builtin in a better way (+ "glob in exec" bug fixed)
function old new delta
execvp_or_die - 50 +50
static.pseudo_null_str 3 - -3
builtin_exec 83 57 -26
pseudo_exec_argv 200 163 -37
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 0/2 up/down: 50/-66) Total: -16 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test/hush-vars')
-rwxr-xr-x | shell/hush_test/hush-vars/param_glob.tests | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/shell/hush_test/hush-vars/param_glob.tests b/shell/hush_test/hush-vars/param_glob.tests index 0173fd771..4d74fee02 100755 --- a/shell/hush_test/hush-vars/param_glob.tests +++ b/shell/hush_test/hush-vars/param_glob.tests @@ -1,7 +1,6 @@ if test $# = 0; then - # UNFIXED BUG in builtin_exec! will glob param! - #exec "$THIS_SH" "$0" 'param_glob.t*' - "$THIS_SH" "$0" 'param_glob.t*' + exec "$THIS_SH" "$0" 'param_glob.t*' + echo NOT SHOWN exit fi echo $* |