From eae7b32f85826a42b2c22f57744d88c2f7c5abfd Mon Sep 17 00:00:00 2001 From: Elliot Lee Date: Tue, 12 May 1998 22:11:56 +0000 Subject: [PATCH] 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. --- gtk/gtkrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkrc.c b/gtk/gtkrc.c index a929e99351..749e2c3fa6 100644 --- a/gtk/gtkrc.c +++ b/gtk/gtkrc.c @@ -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;