aboutsummaryrefslogtreecommitdiffstats
path: root/common/exechelp-w32.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2022-03-18 05:33:53 +0000
committerNIIBE Yutaka <[email protected]>2022-03-18 05:33:53 +0000
commitd94b411f129f572aace005f38cd78515d810135a (patch)
tree92d620ee30c8ff9ed32d386a9d3262fb49e3b6c1 /common/exechelp-w32.c
parentcommon: More heavy test condition for t-dotlock.c. (diff)
downloadgnupg-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