]> git.ipfire.org Git - thirdparty/util-linux.git/commit
more: make execute() more robust and timely
authorSami Kerola <kerolasa@iki.fi>
Sat, 28 Mar 2020 10:00:08 +0000 (10:00 +0000)
committerSami Kerola <kerolasa@iki.fi>
Mon, 13 Apr 2020 11:14:07 +0000 (12:14 +0100)
commitc366ebc7ef8909e5d7e6d769b4e952a0124ef338
tree3d11fb2fee51b5095297b8a3427207ec13d9e1de
parentf3c044eeed896a8edd2294ef71fdf7355dbd1037
more: make execute() more robust and timely

The wait() is now a little more robust by being more tolerate rogue SIGCHLDs
and unblocked signals.  The repeated fork() and sleep() is removed, if first
try does not success give up without delay to provide user timely feedback.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
text-utils/more.c