]> git.ipfire.org Git - thirdparty/coreutils.git/commit
timeout: with --foreground don't send SIGCONT
authorPádraig Brady <P@draigBrady.com>
Wed, 13 May 2015 12:41:42 +0000 (13:41 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 13 May 2015 12:48:56 +0000 (13:48 +0100)
commit45b8fe430dced8c489cb64491b8716cffeeca8c3
tree7e5858933105e4f797ce545c70aaf531ed02f906
parent703747f892d3ec4713b97d4bff770a80122cd1ef
timeout: with --foreground don't send SIGCONT

* src/timeout.c (cleanup): Don't send SIGCONT to the monitored program
when --foreground is specified, as it's generally not needed for
foreground programs, and can cause intermittent signal delivery
issues with monitors like GDB for example.
* doc/coreutils.texi (timeout invocation): Mention that SIGCONT
is not sent with --foreground.
* NEWS: Mention the behavior change.
NEWS
doc/coreutils.texi
src/timeout.c