1
0
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:
Andreas Jaeger
2000-10-11 07:45:30 +00:00
parent 0a7fef0159
commit 8c17f5ecbf

View File

@ -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,