FcCacheFindByStat(): fix checking of the nanoseconds field.

ok millert@
This commit is contained in:
matthieu 2018-07-09 17:09:44 +00:00
parent 53d0e5e23b
commit fddab55788

View File

@ -485,7 +485,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);