Re: [PATCH] FcCacheFindByStat(): fix cheming of nanoseconds field.

Akira TAGOH <[email protected]> Tue, 10 Jul 2018 12:29:05 +0900
Newsgroups gmane.comp.fonts.fontconfig
Message-ID <CACT-Cx2-4p6nKHrCsP3+0X8ekjRmUTDgbX=dBxYbzpyOus2mjA@mail.gmail.com>
Thanks. merged.

On Tue, Jul 10, 2018 at 2:20 AM, Matthieu Herrb <[email protected]> wrote:
> On Mon, Jul 09, 2018 at 07:07:12PM +0200, Matthieu Herrb wrote:
>
> s/cheming/checking/ in subject above :)
>
>> ---
>>  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
>>
>> _______________________________________________
>> Fontconfig mailing list
>> [email protected]
>> https://lists.freedesktop.org/mailman/listinfo/fontconfig
>
> --
> Matthieu Herrb
>
> _______________________________________________
> Fontconfig mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/fontconfig
>



-- 
Akira TAGOH
_______________________________________________
Fontconfig mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/fontconfig