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

search_ldcache_cb: Make it clearer that prefix is not modified

parent 2eafa92f
No related branches found
No related tags found
1 merge request!311Build capsule-capture-libs from a bundled copy of libcapsule
...@@ -395,8 +395,8 @@ search_ldcache_cb (const char *name, // name of the DSO in the ldcache ...@@ -395,8 +395,8 @@ search_ldcache_cb (const char *name, // name of the DSO in the ldcache
if( strcmp( name, target->name ) == 0 ) if( strcmp( name, target->name ) == 0 )
{ {
const char *prefix = target->ldlibs->prefix.path;
int idx = target->idx; int idx = target->idx;
char *prefix = target->ldlibs->prefix.path;
size_t plen = target->ldlibs->prefix.len; size_t plen = target->ldlibs->prefix.len;
char *lpath = target->ldlibs->needed[ idx ].path; char *lpath = target->ldlibs->needed[ idx ].path;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment