[fccache] Consistently use FcStat() over stat() (bug #18195)

This commit is contained in:
Behdad Esfahbod 2008-12-28 04:00:09 -05:00
parent ee2463fbcb
commit 9e2ed2513b
1 changed files with 1 additions and 1 deletions

View File

@ -520,7 +520,7 @@ FcCacheTimeValid (FcCache *cache, struct stat *dir_stat)
if (!dir_stat)
{
if (stat ((const char *) FcCacheDir (cache), &dir_static) < 0)
if (FcStat ((const char *) FcCacheDir (cache), &dir_static) < 0)
return FcFalse;
dir_stat = &dir_static;
}