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>
This commit is contained in:
Denys Vlasenko
2018-01-11 13:17:30 +01:00
parent 932b9971d0
commit 1f1911239c
5 changed files with 36 additions and 4 deletions

View File

@ -0,0 +1,2 @@

Done:0

View File

@ -0,0 +1,3 @@
c=`printf '\3'`
eval "echo $c"
echo Done:$?