summaryrefslogtreecommitdiffstats
path: root/libdwfl
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2022-05-08 19:27:48 +0200
committerMark Wielaard <mark@klomp.org>2022-05-15 00:20:59 +0200
commit6b08114b11985ec3a903456f278aa67329491eae (patch)
tree175fbe2553b6788d9d321040225f98362b70c441 /libdwfl
parentdebuginfod: Make sure debuginfod_config_cache always returns valid stat (diff)
downloadelfutils-6b08114b11985ec3a903456f278aa67329491eae.tar.gz
elfutils-6b08114b11985ec3a903456f278aa67329491eae.tar.bz2
elfutils-6b08114b11985ec3a903456f278aa67329491eae.tar.xz
debuginfod: Remove debuginfod_init_cache
debuginfod_init_cache would create all config files if they didn't exist yet. It always made two stat calls. Then debuginfod_clean_cache would call debuginfod_config_cache which did the same checks and created any missing config files. Just make sure the cache_path directory exists and remove debuginfod_init_cache before calling debuginfod_clean_cache. Signed-off-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'libdwfl')
0 files changed, 0 insertions, 0 deletions