From 303bcf9b9df00ce2906db5c9414aeec96d1a55f9 Mon Sep 17 00:00:00 2001 From: Patrick Lam Date: Wed, 2 Nov 2005 07:37:00 +0000 Subject: 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! --- fc-cache/fc-cache.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'fc-cache') diff --git a/fc-cache/fc-cache.c b/fc-cache/fc-cache.c index 3a4b786..388baa7 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); -- cgit v1.2.3