summaryrefslogtreecommitdiff
path: root/fc-cache
diff options
context:
space:
mode:
authorPatrick Lam <plam@MIT.EDU>2005-11-02 07:37:00 +0000
committerPatrick Lam <plam@MIT.EDU>2005-11-02 07:37:00 +0000
commit303bcf9b9df00ce2906db5c9414aeec96d1a55f9 (patch)
tree2b9f977d9df5f2b8df166966c56d3bcff16ca84d /fc-cache
parentc6b75577f3bf3019399e0a439d9cccf55e53999f (diff)
Revert the previous patch and commit the correct patch: I forgot a
canonicalization in FcValueListSerialize, so that it would choke on already-serialized input files. Duh!
Diffstat (limited to 'fc-cache')
-rw-r--r--fc-cache/fc-cache.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/fc-cache/fc-cache.c b/fc-cache/fc-cache.c
index 3a4b7863..388baa76 100644
--- a/fc-cache/fc-cache.c
+++ b/fc-cache/fc-cache.c
@@ -207,15 +207,6 @@ scanDirs (FcStrList *list, FcConfig *config, char *program, FcBool force, FcBool
if (!FcDirCacheUnlink (dir))
ret++;
- if (!FcDirScan (set, subdirs, 0, FcConfigGetBlanks (config), dir, FcTrue))
- {
- fprintf (stderr, "\"%s\": error scanning\n", dir);
- FcFontSetDestroy (set);
- FcStrSetDestroy (subdirs);
- ret++;
- continue;
- }
-
if (!FcDirSave (set, subdirs, dir))
{
fprintf (stderr, "Can't save cache in \"%s\"\n", dir);