ash,hush: fix SIGCHLD interrupting read builtin
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 22 May 2017 17:34:45 +0000 (19:34 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 22 May 2017 17:34:45 +0000 (19:34 +0200)
commitf5470419404d643070db99d058405b714695b817
tree7ed502471976679437b86f2e2cb38c14984f8a1e
parent0c63299b84513ff995413f820cb5f3d546c0c5d7
ash,hush: fix SIGCHLD interrupting read builtin

function                                             old     new   delta
readcmd                                              169     217     +48
shell_builtin_read                                  1087    1097     +10
localcmd                                             366     364      -2
builtin_read                                         197     193      -4
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/2 up/down: 58/-6)              Total: 52 bytes

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