Commit 50544b13 authored by Patrick Lam's avatar Patrick Lam
Browse files

Add test for validity of directory caches that somehow got lost (reported

    by make distcheck).
parent e6d3e251
2005-11-04 Patrick Lam <plam@mit.edu>
* src/fcdir.c (FcDirScanConfig):
Add test for validity of directory caches that
somehow got lost (reported by make distcheck).
2005-11-04 Patrick Lam <plam@mit.edu>
* ChangeLog:
* README:
......
......@@ -139,7 +139,7 @@ FcDirScanConfig (FcFontSet *set,
if (cache && FcGlobalCacheReadDir (set, dirs, cache, (char *)dir, config))
return FcTrue;
if (FcDirCacheRead (set, dirs, dir))
if (FcDirCacheValid (dir) && FcDirCacheRead (set, dirs, dir))
return FcTrue;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment