From b2d3c3befb45ae4e5284274d9ce75ca462119239 Mon Sep 17 00:00:00 2001 From: Carlos O'Donell Date: Thu, 7 Feb 2013 13:53:46 -0500 Subject: 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. --- elf/dl-cache.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'elf/dl-cache.c') diff --git a/elf/dl-cache.c b/elf/dl-cache.c index 2c4bcc6cb9..030fdcaffe 100644 --- a/elf/dl-cache.c +++ b/elf/dl-cache.c @@ -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 -- cgit 1.4.1