From 9e2ed2513bb4c2ecc7ee09c48c1dc677ea58a723 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 28 Dec 2008 04:00:09 -0500 Subject: [PATCH] [fccache] Consistently use FcStat() over stat() (bug #18195) --- src/fccache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5