hush: fix more obscure ${var%...} cases
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 21 May 2010 22:26:06 +0000 (00:26 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 21 May 2010 22:26:06 +0000 (00:26 +0200)
commita6ad397ea92cd9c53973243728d3e52640fe63ec
tree058f34aaf8877c15a1c667efaa491267f046c7e7
parent7436950a7516d1f4498285ccc81bf6d926f3af5e
hush: fix more obscure ${var%...} cases

function                                             old     new   delta
add_till_closing_paren                               313     359     +46
builtin_exit                                          48      47      -1

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/hush.c
shell/hush_test/hush-arith/arith.right
shell/hush_test/hush-arith/arith.tests
shell/hush_test/hush-vars/var_posix1.right
shell/hush_test/hush-vars/var_posix1.tests