Skip to content
Snippets Groups Projects
Commit bc734845 authored by Simon McVittie's avatar Simon McVittie
Browse files

ld_libs_load_cache: Don't reopen cache, and fix prefix="" case


We were opening the correct ld.so.cache here (in both cases), but then
calling ld_cache_open() which would close the fd we just opened and
open libs->prefix.path instead. In the case where the prefix is set
to "" we would open whatever arbitrary string happened to have been
left in libs->prefix.path last time we used it as scratch space.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 6866e90d
No related branches found
No related tags found
1 merge request!311Build capsule-capture-libs from a bundled copy of libcapsule
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment