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:
2
shell/hush_test/hush-misc/control_char2.right
Normal file
2
shell/hush_test/hush-misc/control_char2.right
Normal file
@ -0,0 +1,2 @@
|
||||
|
||||
Done:0
|
3
shell/hush_test/hush-misc/control_char2.tests
Executable file
3
shell/hush_test/hush-misc/control_char2.tests
Executable file
@ -0,0 +1,3 @@
|
||||
c=`printf '\3'`
|
||||
eval "echo $c"
|
||||
echo Done:$?
|
Reference in New Issue
Block a user