FcCacheFindByStat(): fix checking of nanoseconds field.

This commit is contained in:
Matthieu Herrb 2018-07-09 19:07:12 +02:00 committed by Akira TAGOH
parent 6cc99d6a82
commit 5a46d572c0
1 changed files with 1 additions and 1 deletions

View File

@ -704,7 +704,7 @@ FcCacheFindByStat (struct stat *cache_stat)
s->cache_mtime == cache_stat->st_mtime) s->cache_mtime == cache_stat->st_mtime)
{ {
#ifdef HAVE_STRUCT_STAT_ST_MTIM #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; continue;
#endif #endif
FcRefInc (&s->ref); FcRefInc (&s->ref);