NOFORK fixes
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 4 Aug 2017 00:20:19 +0000 (02:20 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 4 Aug 2017 00:20:19 +0000 (02:20 +0200)
commitcf792a58abc4fc55d0622333d0eb17c6a80dc497
treebd740050c3ac79b0db76bd29728dd4d29120ccc6
parent0a53eadea528673a813c5f9312b1f53130429f7c
NOFORK fixes

"rm -i FILE" and "yes" can now be interrupted by ^C in hush.
This also now works:

$ usleep 19999999
^C
$ echo $?
130

function                                             old     new   delta
run_pipe                                            1668    1711     +43
pseudo_exec_argv                                     312     321      +9
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 52/0)               Total: 52 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
coreutils/rm.c
coreutils/seq.c
coreutils/usleep.c
coreutils/yes.c
docs/nofork_noexec.txt
shell/hush.c