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:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user