1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00

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
This commit is contained in:
Werner Koch 2020-12-21 17:37:35 +01:00
parent 566c48da73
commit 323a69ef65
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -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"); strcpy (stpcpy (h->lockname, file_to_lock), EXTSEP_S "lock");
UNLOCK_all_lockfiles (); UNLOCK_all_lockfiles ();
if (h->use_o_excl)
my_debug_1 ("locking for '%s' done via O_EXCL\n", h->lockname);
return h; return h;