1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Werner Koch 67b82a9c60
common: New function dotlock_is_locked.
* common/dotlock.c (dotlock_is_locked): New.
(dotlock_take): Set locked flag also in disabled mode.  No more
warning if the lock has already been taken.
(dotlock_release): Clear locked flag also in disabled mode.  No more
warning if the lock has not been taken.
--

This allow to use dotlock_take and dotlock_release even if they have
already been called.  Before this changes this worked too but a
diagnostic was printed.
2021-03-02 19:11:53 +01:00
..
2015-10-28 10:20:17 +01:00
2021-02-17 15:28:05 +01:00
2015-11-17 12:50:22 +01:00
2017-04-28 10:06:33 +09:00
2017-02-21 13:11:46 -05:00
2019-04-16 13:27:44 +09:00
2016-03-02 14:27:30 +01:00
2017-04-28 10:06:33 +09:00
2017-02-21 13:11:46 -05:00
2020-11-09 11:53:33 +01:00
2021-01-11 14:26:27 +01:00
2021-01-11 14:26:27 +01:00
2017-01-05 20:43:40 +01:00
2017-02-21 13:11:46 -05:00
2021-01-11 18:40:45 +01:00
2017-02-21 13:11:46 -05:00

Common functionality used by all modules of GnuPG.