aboutsummaryrefslogtreecommitdiff
path: root/src/wydawca.h
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2020-05-17 17:09:18 +0300
committerSergey Poznyakoff <gray@gnu.org>2020-05-17 17:09:18 +0300
commit49de98a30b8b5b45d30bcd4b8136a5b4cfe80fcd (patch)
tree459b3abe97d815dd40838be408998b3520ed9142 /src/wydawca.h
parentebeb897b2b4f81224d541c6711b76e1c360e377a (diff)
downloadwydawca-49de98a30b8b5b45d30bcd4b8136a5b4cfe80fcd.tar.gz
wydawca-49de98a30b8b5b45d30bcd4b8136a5b4cfe80fcd.tar.bz2
Fix deadlock at wy_vlog
* src/stat.c: New file. * src/wydawca.c (wy_log): Don't touch statistic counters. This causes deadlock when wy_v?log is called from statistic-reporting module. * src/wydawca.h (wydawca_stat_log): Remove proto. * src/gpg.c: Increase WY_STAT_ERRORS explicitly. * src/triplet.c: Likewise. * src/verify.c: Likewise. * tests/dry_run01.at: Fix expected output. * tests/upload01.at: Likewise.
Diffstat (limited to 'src/wydawca.h')
-rw-r--r--src/wydawca.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/wydawca.h b/src/wydawca.h
index fabd461..cb29ebc 100644
--- a/src/wydawca.h
+++ b/src/wydawca.h
@@ -365,7 +365,6 @@ extern size_t spool_count;
typedef unsigned WY_STAT_COUNTER;
-void wydawca_stat_log(void);
void wydawca_stat_init(void);
void wydawca_stat_notify(int final);
void wydawca_stat_add(int what, size_t n);

Return to:

Send suggestions and report system problems to the System administrator.