mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
(_dl_load_cache_lookup): Set cache.
This commit is contained in:
@ -184,7 +184,7 @@ _dl_load_cache_lookup (const char *name)
|
|||||||
}
|
}
|
||||||
else if (file && cachesize > sizeof *cache_new)
|
else if (file && cachesize > sizeof *cache_new)
|
||||||
{
|
{
|
||||||
cache_new = (struct cache_file_new *) file;
|
cache = cache_new = (struct cache_file_new *) file;
|
||||||
if (memcmp (cache_new->magic, CACHEMAGIC_NEW,
|
if (memcmp (cache_new->magic, CACHEMAGIC_NEW,
|
||||||
sizeof CACHEMAGIC_NEW - 1)
|
sizeof CACHEMAGIC_NEW - 1)
|
||||||
|| memcmp (cache_new->version, CACHE_VERSION,
|
|| memcmp (cache_new->version, CACHE_VERSION,
|
||||||
|
Reference in New Issue
Block a user