[Fontconfig] [PATCH] FcCacheFindByStat(): fix cheming of nanoseconds field.
Matthieu Herrb
matthieu at herrb.eu
Mon Jul 9 17:07:12 UTC 2018
---
src/fccache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/fccache.c b/src/fccache.c
index 9831a1f..c6201e4 100644
--- a/src/fccache.c
+++ b/src/fccache.c
@@ -704,7 +704,7 @@ FcCacheFindByStat (struct stat *cache_stat)
s->cache_mtime == cache_stat->st_mtime)
{
#ifdef HAVE_STRUCT_STAT_ST_MTIM
- if (s->cache_mtime != cache_stat->st_mtim.tv_nsec)
+ if (s->cache_mtime_nano != cache_stat->st_mtim.tv_nsec)
continue;
#endif
FcRefInc (&s->ref);
--
2.17.1
More information about the Fontconfig
mailing list