about summary refs log tree commit diff
path: root/sysdeps/generic/dl-cache.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-11-07 00:26:45 +0000
committerUlrich Drepper <drepper@redhat.com>2000-11-07 00:26:45 +0000
commit1324affa186eff814fde274a524a57b611ce71be (patch)
treef3c7a7d0b8a8fb40c115935f8533f13f5f0cba6d /sysdeps/generic/dl-cache.c
parent17b16ef0604684bbef702f4c7952e8afba802cac (diff)
downloadglibc-1324affa186eff814fde274a524a57b611ce71be.tar.gz
glibc-1324affa186eff814fde274a524a57b611ce71be.tar.xz
glibc-1324affa186eff814fde274a524a57b611ce71be.zip
* charmaps/BIG5: Add mapping for <U20AC> back.
	Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
Diffstat (limited to 'sysdeps/generic/dl-cache.c')
-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 656fea8308..798bf06e54 100644
--- a/sysdeps/generic/dl-cache.c
+++ b/sysdeps/generic/dl-cache.c
@@ -183,7 +183,7 @@ _dl_load_cache_lookup (const char *name)
 	    cache_new = (void *) -1;
 	}
       else if (file != NULL && cachesize > sizeof *cache_new
-	       && memcmp (cache_new->magic, CACHEMAGIC_VERSION_NEW,
+	       && memcmp (file, CACHEMAGIC_VERSION_NEW,
 			  sizeof CACHEMAGIC_VERSION_NEW - 1) == 0)
 	{
 	  cache_new = file;