More stub definitions and remove FcFileIsDir from fc-cat.
This commit is contained in:
parent
c003f5aec3
commit
ead55be0ed
|
@ -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>
|
2006-03-03 Patrick Lam <plam@mit.edu>
|
||||||
* fc-case/fc-case.c:
|
* fc-case/fc-case.c:
|
||||||
|
|
||||||
|
|
|
@ -377,16 +377,6 @@ bail2:
|
||||||
return FcFalse;
|
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
|
int
|
||||||
main (int argc, char **argv)
|
main (int argc, char **argv)
|
||||||
{
|
{
|
||||||
|
|
|
@ -24,6 +24,16 @@
|
||||||
|
|
||||||
#include "fcint.h"
|
#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
|
static int
|
||||||
rawindex (const FcGlyphName *gn);
|
rawindex (const FcGlyphName *gn);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue