diff options
| author | Thomas Jarosch <thomas.jarosch@intra2net.com> | 2017-10-18 18:47:49 +0200 |
|---|---|---|
| committer | Pádraig Brady <P@draigBrady.com> | 2017-10-23 23:09:02 -0700 |
| commit | cccd01b4dae1061dcad2ae14bea976ed86268d9b (patch) | |
| tree | ba2713751a1027afe5d9171d8c4b72187044ff83 /scripts/git-hooks/commit-msg | |
| parent | build: reinstate distribution of man pages (diff) | |
| download | coreutils-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/commit-msg')
0 files changed, 0 insertions, 0 deletions
