hush: store "ended_in_ifs" flag in o_string
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 19 Jul 2018 11:45:54 +0000 (13:45 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 20 Jul 2018 14:27:26 +0000 (16:27 +0200)
commit168579a34c6fc6c2f2cd20256367ceb61f50bf68
tree19ee47b4f503940d77c35d6958aa294f3f24822d
parent8a6a4615048d51af0e765e893211073faa7951cc
hush: store "ended_in_ifs" flag in o_string

This simplifies function parameter passing.

function                                             old     new   delta
expand_one_var                                      1643    1639      -4
append_str_maybe_ifs_split                            64      52     -12
expand_vars_to_list                                 1125    1112     -13
expand_on_ifs                                        361     345     -16
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/4 up/down: 0/-45)             Total: -45 bytes

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