NOFORK fixes
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 2 Aug 2017 14:37:39 +0000 (16:37 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 2 Aug 2017 14:37:39 +0000 (16:37 +0200)
commit7c40ddd9500907925041131374cb43eb87ef5494
tree415676f7439a3c42e2137f357c8e8904a93007cc
parent95f7953f2c46c7b9c799250aa8dc6eb10cc5c726
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