diff options
author | Werner Koch <wk@gnupg.org> | 2011-09-28 15:41:58 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2011-09-28 15:41:58 +0200 |
commit | ed8e267859a00233fee89a6b1b7fb3d74ceced96 (patch) | |
tree | e74d7b7af18297021f1e7548899d07badb464a0a /g10/keydb.c | |
parent | Allow arbitrary timeouts with dotlock. (diff) | |
download | gnupg2-ed8e267859a00233fee89a6b1b7fb3d74ceced96.tar.xz gnupg2-ed8e267859a00233fee89a6b1b7fb3d74ceced96.zip |
Add a flag parameter to dotlock_create.
This allows us to extend this function in the future.
Diffstat (limited to 'g10/keydb.c')
-rw-r--r-- | g10/keydb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/keydb.c b/g10/keydb.c index e4b97096f..9b9b2ed5f 100644 --- a/g10/keydb.c +++ b/g10/keydb.c @@ -136,7 +136,7 @@ maybe_create_keyring (char *filename, int force) /* To avoid races with other instances of gpg trying to create or update the keyring (it is removed during an update for a short time), we do the next stuff in a locked state. */ - lockhd = dotlock_create (filename); + lockhd = dotlock_create (filename, 0); if (!lockhd) { /* A reason for this to fail is that the directory is not |