(_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)
{
cache_new = (struct cache_file_new *) file;
cache = cache_new = (struct cache_file_new *) file;
if (memcmp (cache_new->magic, CACHEMAGIC_NEW,
sizeof CACHEMAGIC_NEW - 1)
|| memcmp (cache_new->version, CACHE_VERSION,