summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2020-12-21 17:37:35 +0100
committerWerner Koch <wk@gnupg.org>2020-12-21 19:43:35 +0100
commitfc0eaa9add3c9bc93d4404988be3e1eb8f88ffa2 (patch)
tree548fec66ef4f31de1eabea0667ece7732b29de74
parentdoc: Explain LDAP keyserver parameters (diff)
downloadgnupg2-fc0eaa9add3c9bc93d4404988be3e1eb8f88ffa2.tar.xz
gnupg2-fc0eaa9add3c9bc93d4404988be3e1eb8f88ffa2.zip
common: Remove superfluous debug output from dotlock.c.
* common/dotlock.c (dotlock_create_unix): Remove debug output. -- This was left over from developement about 10 years ago. Exhibits itself when using sshfs. GnuPG-bug-id: 5193
-rw-r--r--common/dotlock.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/common/dotlock.c b/common/dotlock.c
index f3e4bac28..60b826b6c 100644
--- a/common/dotlock.c
+++ b/common/dotlock.c
@@ -773,8 +773,6 @@ dotlock_create_unix (dotlock_t h, const char *file_to_lock)
}
strcpy (stpcpy (h->lockname, file_to_lock), EXTSEP_S "lock");
UNLOCK_all_lockfiles ();
- if (h->use_o_excl)
- my_debug_1 ("locking for '%s' done via O_EXCL\n", h->lockname);
return h;