diff options
author | NIIBE Yutaka <[email protected]> | 2022-03-18 05:33:53 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2022-03-18 05:33:53 +0000 |
commit | d94b411f129f572aace005f38cd78515d810135a (patch) | |
tree | 92d620ee30c8ff9ed32d386a9d3262fb49e3b6c1 /common/exechelp-w32.c | |
parent | common: More heavy test condition for t-dotlock.c. (diff) | |
download | gnupg-d94b411f129f572aace005f38cd78515d810135a.tar.gz gnupg-d94b411f129f572aace005f38cd78515d810135a.zip |
common: Fix a race condition removing stale lockfile.
* common/dotlock.c (read_lockfile): Return the file descriptor when
R_FD is available.
(dotlock_take_unix): Check the case the lockfile was already removed.
--
GnuPG-bug-id: 5884
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'common/exechelp-w32.c')
0 files changed, 0 insertions, 0 deletions