aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-10-11 07:45:30 +0000
committerAndreas Jaeger <aj@suse.de>2000-10-11 07:45:30 +0000
commit8c17f5ecbff125c40e187d5f222b42b5a4248842 (patch)
tree651e821df2f7a4355ca8cae1aa6b9259a6813c10
parent0a7fef01597c934b6f6fd59eee28f30c4674670a (diff)
downloadglibc-8c17f5ecbff125c40e187d5f222b42b5a4248842.tar
glibc-8c17f5ecbff125c40e187d5f222b42b5a4248842.tar.gz
glibc-8c17f5ecbff125c40e187d5f222b42b5a4248842.tar.bz2
glibc-8c17f5ecbff125c40e187d5f222b42b5a4248842.zip
(_dl_load_cache_lookup): Set cache.
-rw-r--r--sysdeps/generic/dl-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/dl-cache.c b/sysdeps/generic/dl-cache.c
index 85db10e06c..fdbff88279 100644
--- a/sysdeps/generic/dl-cache.c
+++ b/sysdeps/generic/dl-cache.c
@@ -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,