hush: move variable expansion into a separate function. No logic changes
authorDenys Vlasenko <dvlasenk@redhat.com>
Sun, 5 Sep 2010 12:48:11 +0000 (14:48 +0200)
committerDenys Vlasenko <dvlasenk@redhat.com>
Sun, 5 Sep 2010 12:48:11 +0000 (14:48 +0200)
commitf2dc20c2d5dd82001e4da765caef60228a856ff8
tree27c92dae2ae1910a69e642bd1115e6a9ddc59f01
parent36f774a0cd2bf8dd72b192aab93831c5ac0c58f0
hush: move variable expansion into a separate function. No logic changes

function                                             old     new   delta
expand_one_var                                         -    1551   +1551
expand_vars_to_list                                 2833    1175   -1658
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/1 up/down: 1551/-1658)       Total: -107 bytes

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
shell/hush.c