summaryrefslogtreecommitdiffstats
path: root/scripts/git-hooks
diff options
context:
space:
mode:
authorThomas Jarosch <thomas.jarosch@intra2net.com>2017-10-18 18:47:49 +0200
committerPádraig Brady <P@draigBrady.com>2017-10-23 23:09:02 -0700
commitcccd01b4dae1061dcad2ae14bea976ed86268d9b (patch)
treeba2713751a1027afe5d9171d8c4b72187044ff83 /scripts/git-hooks
parent856b828320649d941097a89dbb8c5343760ddad0 (diff)
downloadcoreutils-cccd01b4dae1061dcad2ae14bea976ed86268d9b.tar.gz
coreutils-cccd01b4dae1061dcad2ae14bea976ed86268d9b.zip
timeout: fix regression when invoked with blocked SIGCHLD
We inherit the signal mask from our parent process, therefore ensure SIGCHLD is not blocked. If SIGCHLD is blocked, sigsuspend() won't be interrupted when the child process exits and we hang until the timeout (SIGALRM). This fixes a regression from commit v8.26-39-g2f69dba * src/timeout.c (install_sigchld): Ensure SIGCHLD is unblocked. * NEWS: Mention the issue.
Diffstat (limited to 'scripts/git-hooks')
0 files changed, 0 insertions, 0 deletions