diff options
author | Peter Stephenson <p.stephenson@samsung.com> | 2018-04-23 15:11:34 +0100 |
---|---|---|
committer | Peter Stephenson <p.stephenson@samsung.com> | 2018-04-23 15:11:34 +0100 |
commit | 9ad9c5cda1087151c64074a965a68b407a8bd229 (patch) | |
tree | 99d06ac7d73c749ef3a33d37ed760690daf25bb2 /Src/Modules/files.c | |
parent | 11f18457d229b84c3532c15c9080235e85d26866 (diff) | |
download | zsh-9ad9c5cda1087151c64074a965a68b407a8bd229.tar.gz zsh-9ad9c5cda1087151c64074a965a68b407a8bd229.tar.xz zsh-9ad9c5cda1087151c64074a965a68b407a8bd229.zip |
42705: Another safety fix for pgrp reclaiming.
Only do this if killpg(dead_pid, 0) returns -1, indicating the pgprp doesn't exist any more, else there is a race if other proceses have started using it.
Diffstat (limited to 'Src/Modules/files.c')
0 files changed, 0 insertions, 0 deletions