Commit 9e2ed251 authored by Behdad Esfahbod's avatar Behdad Esfahbod

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

parent ee2463fb
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment