parent
3616cbe251
commit
28aefd013d
|
@ -1,3 +1,10 @@
|
||||||
|
2006-01-31 Mike Fabian <mfabian@suse.de>
|
||||||
|
reviewed by: plam
|
||||||
|
|
||||||
|
* src/fccache.c (FcGlobalCacheLoad):
|
||||||
|
|
||||||
|
Toast broken global cache files.
|
||||||
|
|
||||||
2006-01-30 Patrick Lam <plam@mit.edu>
|
2006-01-30 Patrick Lam <plam@mit.edu>
|
||||||
* src/fccache.c (FcGlobalCacheReadDir):
|
* src/fccache.c (FcGlobalCacheReadDir):
|
||||||
|
|
||||||
|
|
|
@ -219,9 +219,9 @@ FcGlobalCacheLoad (FcGlobalCache *cache,
|
||||||
cache->updated = FcFalse;
|
cache->updated = FcFalse;
|
||||||
|
|
||||||
if (!FcCacheReadString (cache->fd, name_buf, sizeof (name_buf)))
|
if (!FcCacheReadString (cache->fd, name_buf, sizeof (name_buf)))
|
||||||
return;
|
goto bail_and_destroy;
|
||||||
if (strcmp (name_buf, FC_GLOBAL_MAGIC_COOKIE) != 0)
|
if (strcmp (name_buf, FC_GLOBAL_MAGIC_COOKIE) != 0)
|
||||||
return;
|
goto bail_and_destroy;
|
||||||
|
|
||||||
current_arch_machine_name = FcCacheMachineSignature ();
|
current_arch_machine_name = FcCacheMachineSignature ();
|
||||||
current_arch_start = FcCacheSkipToArch(cache->fd,
|
current_arch_start = FcCacheSkipToArch(cache->fd,
|
||||||
|
|
Loading…
Reference in New Issue