From 3ef4f77620a9f5f9a7c1247e29ea9c14e07b8a30 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 19 Oct 2009 23:09:06 +0200 Subject: 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 --- shell/hush_test/hush-vars/param_glob.tests | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'shell/hush_test/hush-vars') 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 $* -- cgit v1.2.3