hush: fix exec builtin in a better way (+ "glob in exec" bug fixed)
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 19 Oct 2009 21:09:06 +0000 (23:09 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 19 Oct 2009 21:09:06 +0000 (23:09 +0200)
commit3ef4f77620a9f5f9a7c1247e29ea9c14e07b8a30
treed0d3d5c73b535ff2db54267fc941e79391770ef3
parenta8df4c09fbc1daae502a887c47a7bb35d28e8991
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>
shell/hush.c
shell/hush_test/hush-vars/param_glob.tests