summaryrefslogtreecommitdiff
path: root/debuginfod/ChangeLog
diff options
context:
space:
mode:
authorAlexander Kanavin <alex@linutronix.de>2021-12-09 10:51:23 +0100
committerMark Wielaard <mark@klomp.org>2021-12-16 00:49:52 +0100
commitd70b27cd02227d5b533f9da2c811bea08eddabde (patch)
tree750656dd046c1ce19976398d7d5e1c0463198dfb /debuginfod/ChangeLog
parentdb862a11910a5d4c007c549c2b4ce4cad62f242b (diff)
downloadelfutils-d70b27cd02227d5b533f9da2c811bea08eddabde.tar.gz
debuginfod/debuginfod-client.c: use long for cache time configurations
time_t is platform dependent and some of architectures e.g. x32, riscv32, arc use 64bit time_t even while they are 32bit architectures, therefore directly using integer printf formats will not work portably. Use a plain long everywhere as the intervals are small enough that it will not be problematic. Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Diffstat (limited to 'debuginfod/ChangeLog')
-rw-r--r--debuginfod/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/debuginfod/ChangeLog b/debuginfod/ChangeLog
index 2642ef5e..dfb5d42e 100644
--- a/debuginfod/ChangeLog
+++ b/debuginfod/ChangeLog
@@ -1,3 +1,10 @@
+2021-12-09 Alexander Kanavin <alex@linutronix.de>
+
+ * debuginfod-client.c (cache_clean_default_interval_s): Change type to
+ long from time_t.
+ (cache_miss_default_s): Likewise.
+ (cache_default_max_unused_age_s): Likewise.
+
2021-12-09 Mark Wielaard <mark@klomp.org>
* debuginfod.cxx (database_stats_report): Don't format clog