mirror of
https://github.com/openbsd/xenocara.git
synced 2025-12-13 12:49:07 +00:00
FcCacheFindByStat(): fix checking of the nanoseconds field.
ok millert@
This commit is contained in:
2
dist/fontconfig/src/fccache.c
vendored
2
dist/fontconfig/src/fccache.c
vendored
@@ -485,7 +485,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);
|
||||||
|
|||||||
Reference in New Issue
Block a user