mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-19 09:50:06 +00:00
Use lstat() to tell when an rc file was modified, not stat(), because we
Use lstat() to tell when an rc file was modified, not stat(), because we could be pointing symlinks around.
This commit is contained in:
parent
c9e78a1094
commit
eae7b32f85
@ -413,7 +413,7 @@ gtk_rc_reparse_all (void)
|
||||
{
|
||||
rc_file = tmp_list->data;
|
||||
|
||||
if (!stat (rc_file->name, &statbuf) &&
|
||||
if (!lstat (rc_file->name, &statbuf) &&
|
||||
(statbuf.st_mtime > rc_file->mtime))
|
||||
{
|
||||
mtime_modified = TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user