hush: less mind-bending set_vars_and_save_old()
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 5 Apr 2018 12:09:14 +0000 (14:09 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 5 Apr 2018 12:09:14 +0000 (14:09 +0200)
commit929a41d5770c0531f037c2e7db25bf98f9029c9e
treeab4a79bd1784435b1bbc3488145e7129452b8cdc
parent4e1dc539e97300c44589eff8baffd12c95a13d5f
hush: less mind-bending set_vars_and_save_old()

function                                             old     new   delta
run_pipe                                            1651    1701     +50
set_local_var                                        510     557     +47
pseudo_exec_argv                                     544     581     +37
redirect_and_varexp_helper                            64      56      -8
set_vars_and_save_old                                164     149     -15
unset_local_var                                      274     256     -18
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/3 up/down: 134/-41)            Total: 93 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/hush.c