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:
Elliot Lee 1998-05-12 22:11:56 +00:00
parent c9e78a1094
commit eae7b32f85

View File

@ -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;