]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add more comments to _dl_load_cache_lookup().
authorCarlos O'Donell <carlos@redhat.com>
Thu, 7 Feb 2013 18:53:46 +0000 (13:53 -0500)
committerCarlos O'Donell <carlos@redhat.com>
Fri, 8 Feb 2013 17:55:34 +0000 (12:55 -0500)
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.

ChangeLog
elf/dl-cache.c

index 0fd23d3bd5e8dfaa321e16d0a378df2ab972f4ba..ab411fdc9aedbc6d9305640723f59bb595e92268 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-02-08  Carlos O'Donell  <carlos@redhat.com>
+
+       * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
+       loaded if not already and that a failure is permanent.
+
 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
 
        [BZ #15006]
index 2c4bcc6cb9585706d067f1e7724652c6adae5e04..030fdcaffeaf37b48bea718fb822d5f950310ef3 100644 (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