hush: fix interactive input handling of backslash+newline
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 29 Sep 2016 23:49:53 +0000 (01:49 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 29 Sep 2016 23:49:53 +0000 (01:49 +0200)
commit4074d495577739d658ba04840b6a0876dfa236b0
tree5d88d93040d4455cfed1cf468a85257ff3818628
parent0448c55cc84294d330305066d8f0a16b56e04b8b
hush: fix interactive input handling of backslash+newline

function                                             old     new   delta
fgetc_interactive                                      -     258    +258
i_peek_and_eat_bkslash_nl                             43      93     +50
static_peek2                                           7       -      -7
setup_string_in_str                                   46      39      -7
setup_file_in_str                                     47      40      -7
file_peek                                             72      52     -20
expand_vars_to_list                                 1167    1143     -24
file_peek2                                            74       -     -74
file_get                                             326      65    -261
------------------------------------------------------------------------------
(add/remove: 1/2 grow/shrink: 1/5 up/down: 308/-400)          Total: -92 bytes

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