Use correct stat struct for ftw()
authorРуслан Ижбулатов <lrn1986@gmail.com>
Sun, 10 Jun 2018 21:05:30 +0000 (21:05 +0000)
committerSimon McVittie <smcv@debian.org>
Wed, 8 Nov 2023 16:30:21 +0000 (16:30 +0000)
commit5a1cc05e7f6c6519ccaaf104c16153c1526bf799
treef9b1a4e62b639d05f8b4c134a0fee2b63e8c8a96
parent497e48a1f5558a8932f97828a265e57d70c19d58
Use correct stat struct for ftw()

check_dir_mtime() is called by ftw() and is given
the real stat struct, not its glib version (which may
or may not be the same as "struct stat").

This is irrelevant for MSVC (it has no ftw()) and
works correctly for MinGW-w64 (which declares stat
structures correctly). If mingw.org complains, add
a special ifdef for it later.

Origin: upstream, 3.24.39, commit:7e17693cced0db855bfe0997f26633ca8bdd48cc

Gbp-Pq: Name Use-correct-stat-struct-for-ftw.patch
gtk/updateiconcache.c