diff options
| author | Pádraig Brady <P@draigBrady.com> | 2017-10-23 19:58:56 -0700 |
|---|---|---|
| committer | Pádraig Brady <P@draigBrady.com> | 2017-10-23 23:10:42 -0700 |
| commit | cbf35912da66a17a6113d5a434214dd7651f403a (patch) | |
| tree | 97a212f91808ea664bfaf2dc3e5a7401d3b72746 /scripts/git-hooks/commit-msg | |
| parent | timeout: fix regression when invoked with blocked SIGCHLD (diff) | |
| download | coreutils-cbf35912da66a17a6113d5a434214dd7651f403a.tar.gz coreutils-cbf35912da66a17a6113d5a434214dd7651f403a.zip | |
timeout: fix a small race that would ignore command exit
This fixes a regression from commit v8.26-39-g2f69dba
* src/timeout.c (block_cleanup_and_chld): Rename from block_cleanup
to indicate we also block SIGCHLD to avoid the race where SIGCHLD
fires between waitpid() polling and sigsuspend() waiting for a signal.
* NEWS: Mention the fix.
Diffstat (limited to 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions
