projects
/
platform
/
upstream
/
fontconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6d3e25
)
Add test for validity of directory caches that somehow got lost (reported
fc-2_3_92
author
Patrick Lam
<plam@MIT.EDU>
Fri, 4 Nov 2005 16:48:32 +0000
(16:48 +0000)
committer
Patrick Lam
<plam@MIT.EDU>
Fri, 4 Nov 2005 16:48:32 +0000
(16:48 +0000)
by make distcheck).
ChangeLog
patch
|
blob
|
history
src/fcdir.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index
d067f45
..
2d26433
100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,4
+1,10
@@
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:
* configure.in:
diff --git
a/src/fcdir.c
b/src/fcdir.c
index
3b9d23f
..
5452b60
100644
(file)
--- a/
src/fcdir.c
+++ b/
src/fcdir.c
@@
-139,7
+139,7
@@
FcDirScanConfig (FcFontSet *set,
if (cache && FcGlobalCacheReadDir (set, dirs, cache, (char *)dir, config))
return FcTrue;
- if (FcDirCacheRead (set, dirs, dir))
+ if (FcDirCache
Valid (dir) && FcDirCache
Read (set, dirs, dir))
return FcTrue;
}