hush: fix handling of ^C in eval
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 11 Jan 2018 12:17:30 +0000 (13:17 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 11 Jan 2018 12:17:30 +0000 (13:17 +0100)
commit1f1911239c0874d49a31d0ef2e618d0a1086a8df
treeebf78e950ff4cc7445ed7dfa9888a21c84c347af
parent932b9971d05d26e353f56bdd93daec3c9f764312
hush: fix handling of ^C in eval

function                                             old     new   delta
run_list                                            1044    1259    +215
builtin_eval                                          45     126     +81
expand_strvec_to_string                               91       -     -91
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 2/0 up/down: 296/-91)           Total: 205 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/ash_test/ash-misc/control_char2.right [new file with mode: 0644]
shell/ash_test/ash-misc/control_char2.tests [new file with mode: 0755]
shell/hush.c
shell/hush_test/hush-misc/control_char2.right [new file with mode: 0644]
shell/hush_test/hush-misc/control_char2.tests [new file with mode: 0755]