+2005-10-13 Patrick Lam <plam@mit.edu>
+ * src/fccache.c (FcDirCacheUnlink):
+
+ Fix flipped return value on unlink. (Reported by Mike Fabian)
+
+2005-10-12 Patrick Lam <plam@mit.edu>
+
+ * src/fccache.c:
+ * src/fcdir.c (FcDirScanConfig):
+ * src/fcint.h:
+
+ When fc-cache is run without --force, use directory cache files
+ to speed up fc-cache run time. (Reported by Mike Fabian)
+
2005-10-06 Patrick Lam <plam@mit.edu>
* src/fcname.c (FcObjectToPtr):
{
FcChar8 *cache_file = FcStrPlus (dir, (FcChar8 *) "/" FC_DIR_CACHE_FILE);
- if (!unlink ((char *)cache_file))
+ if (unlink ((char *)cache_file) != 0)
+ {
+ FcStrFree (cache_file);
return FcFalse;
+ }
FcStrFree (cache_file);
-
return FcTrue;
}