Home GnuPG
Diffusion GnuPG 32a3e5f83bbb

common:dotlock: Escalate a warning message up to INFO from DEBUG.

Description

common:dotlock: Escalate a warning message up to INFO from DEBUG.

* common/dotlock.c (dotlock_take): Use my_info_1 when already locked.
(dotlock_release): Likewise.

Since recursive lock is not intended with dotlock (yet), it's a
programming error when detecting already locked state on the call of
dotlock_take. Also, it's a programming error when detecting
non-locked state on the call of dotlock_release. Use of my_debug_1 is
not relevant here.

  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Tue, Nov 25, 2:17 AM
Parents
rGaab29b128693: kbx:sqlite: Don't call dotlock_release.
Branches
Unknown
Tags
Unknown
References
HEAD -> master