From: Patrick Lam Date: Fri, 3 Mar 2006 18:19:04 +0000 (+0000) Subject: More stub definitions and remove FcFileIsDir from fc-cat. X-Git-Tag: fc-2_3_95~47 X-Git-Url: https://git.wh0rd.org/?p=fontconfig.git;a=commitdiff_plain;h=ead55be0eddcaa60ed3f7147091ada276e891ed9 More stub definitions and remove FcFileIsDir from fc-cat. --- diff --git a/ChangeLog b/ChangeLog index a8b2e5b..e4f4d8d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-03-03 Patrick Lam + * 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 * fc-case/fc-case.c: diff --git a/fc-cat/fc-cat.c b/fc-cat/fc-cat.c index 0bcc485..24f8a44 100644 --- a/fc-cat/fc-cat.c +++ b/fc-cat/fc-cat.c @@ -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) { diff --git a/fc-glyphname/fc-glyphname.c b/fc-glyphname/fc-glyphname.c index 47d86e3..31dff12 100644 --- a/fc-glyphname/fc-glyphname.c +++ b/fc-glyphname/fc-glyphname.c @@ -24,6 +24,16 @@ #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);