From: Behdad Esfahbod Date: Sun, 28 Dec 2008 09:00:09 +0000 (-0500) Subject: [fccache] Consistently use FcStat() over stat() (bug #18195) X-Git-Tag: 2.7.0~156 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9e2ed2513bb4c2ecc7ee09c48c1dc677ea58a723;p=fontconfig.git [fccache] Consistently use FcStat() over stat() (bug #18195) --- diff --git a/src/fccache.c b/src/fccache.c index 241ebd0..c7a2dcd 100644 --- a/src/fccache.c +++ b/src/fccache.c @@ -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; }