Merge branch 'backport-ftw-struct' into 'gtk-3-24'

Backport "Use correct stat struct for ftw()"

See merge request GNOME/gtk!6004
This commit is contained in:
Matthias Clasen 2023-05-22 10:05:53 +00:00
commit c00f1a96c8

View File

@ -75,7 +75,7 @@ static GStatBuf cache_dir_stat;
static gboolean cache_up_to_date;
static int check_dir_mtime (const char *dir,
const GStatBuf *sb,
const struct stat *sb,
int tf)
{
if (tf != FTW_NS && sb->st_mtime > cache_dir_stat.st_mtime)