mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
Testsuite for owrdexp.
This commit is contained in:
@@ -55,6 +55,10 @@ _dl_load_cache_lookup (const char *name)
|
||||
unsigned int i;
|
||||
const char *best;
|
||||
|
||||
/* Print a message if the loading of libs is traced. */
|
||||
if (_dl_debug_libs)
|
||||
_dl_sysdep_message ("\t search cache=", LD_SO_CACHE, "\n", NULL);
|
||||
|
||||
if (cache == NULL)
|
||||
{
|
||||
/* Read the contents of the file. */
|
||||
@@ -99,5 +103,10 @@ _dl_load_cache_lookup (const char *name)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/* Print our result if wanted. */
|
||||
if (_dl_debug_libs && best != NULL)
|
||||
_dl_sysdep_message ("\t trying file=", best, "\n", NULL);
|
||||
|
||||
return best;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user