mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +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:
@@ -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>
|
2013-02-08 Carlos O'Donell <carlos@redhat.com>
|
||||||
|
|
||||||
[BZ #15006]
|
[BZ #15006]
|
||||||
|
@@ -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,
|
/* Look up NAME in ld.so.cache and return the file name stored there, or null
|
||||||
or null if none is found. */
|
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 *
|
const char *
|
||||||
internal_function
|
internal_function
|
||||||
|
Reference in New Issue
Block a user