1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-01 10:06:57 +03:00

Add more comments to _dl_load_cache_lookup().

Calling _dl_load_cache_lookup will load the cache if not already.
If loading the cache fails no more attempts will be made to load
the cache.
This commit is contained in:
Carlos O'Donell
2013-02-07 13:53:46 -05:00
parent ddacd1db6a
commit b2d3c3befb
2 changed files with 8 additions and 2 deletions

View File

@ -172,8 +172,9 @@ _dl_cache_libcmp (const char *p1, const char *p2)
}
/* Look up NAME in ld.so.cache and return the file name stored there,
or null if none is found. */
/* Look up NAME in ld.so.cache and return the file name stored there, or null
if none is found. The cache is loaded if it was not already. If loading
the cache previously failed there will be no more attempts to load it. */
const char *
internal_function