+2005-12-06 Patrick Lam <plam@mit.edu>
+ * fc-cat/fc-cat.c (FcCachePrintSet, FcCacheGlobalFileReadAndPrint):
+
+ Fix warnings.
+
2005-12-05 Patrick Lam <plam@mit.edu>
* src/fcname.c (FcNameGetObjectType):
#define PUTC(c,f) putc(c,f)
#endif
+FcBool
+FcCachePrintSet (FcFontSet *set, FcStrSet *dirs, char *cache_file);
+
static FcBool
FcCacheWriteChars (FILE *f, const FcChar8 *chars)
{
{
char name_buf[8192];
int fd;
- FcGlobalCacheDir *d, *next;
char * current_arch_machine_name;
char candidate_arch_machine_name[9+MACHINE_SIGNATURE_SIZE];
off_t current_arch_start = 0;
- char subdirName[FC_MAX_FILE_LEN + 1 + 12 + 1];
if (!cache_file)
goto bail;
while (1)
{
- off_t targ;
-
FcCacheReadString (fd, name_buf, sizeof (name_buf));
if (!strlen(name_buf))
break;
bail3:
FcStrListDone (list);
bail2:
-bail1:
-bail0:
return FcFalse;
}