More stub definitions and remove FcFileIsDir from fc-cat.
authorPatrick Lam <plam@MIT.EDU>
Fri, 3 Mar 2006 18:19:04 +0000 (18:19 +0000)
committerPatrick Lam <plam@MIT.EDU>
Fri, 3 Mar 2006 18:19:04 +0000 (18:19 +0000)
ChangeLog
fc-cat/fc-cat.c
fc-glyphname/fc-glyphname.c

index a8b2e5b..e4f4d8d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,10 @@
 2006-03-03  Patrick Lam  <plam@mit.edu>
+       * fc-cat/fc-cat.c (FcFileIsDir):
+       * fc-glyphname/fc-flyphname.c:
+
+       More stub definitions and remove FcFileIsDir from fc-cat.
+
+2006-03-03  Patrick Lam  <plam@mit.edu>
        * fc-case/fc-case.c:
 
        Fix compilation on AIX with stub definitions (bug 6097).
index 0bcc485..24f8a44 100644 (file)
@@ -377,16 +377,6 @@ bail2:
     return FcFalse;
 }
 
-FcBool
-FcFileIsDir (const FcChar8 *file)
-{
-    struct stat            statb;
-
-    if (stat ((const char *) file, &statb) != 0)
-       return FcFalse;
-    return S_ISDIR(statb.st_mode);
-}
-
 int
 main (int argc, char **argv)
 {
index 47d86e3..31dff12 100644 (file)
 
 #include "fcint.h"
 
+/* stub definitions for declarations from fcint.h.. */
+int * _fcBankId = 0, * _fcBankIdx = 0;
+
+int
+FcCacheBankToIndexMTF (int bank)
+{
+    return 0;
+}
+/* end stub definitions */
+
 static int
 rawindex (const FcGlyphName *gn);