]> git.wh0rd.org Git - fontconfig.git/commitdiff
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 a8b2e5b10f63d0f1765ffaf42a77e235ddd43a0c..e4f4d8da24d8a6c43ad34921a0d26763321bd8ed 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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:
 
index 0bcc4854344a8fa77fed085fc38473565ac8b376..24f8a44d5f9e80b8a2ab336dfb6d628da2309f3c 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 47d86e39d58eab5886af7c9ec102719d292d127e..31dff12ef4c0927128fd5d642586b3befdd563bb 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);