summaryrefslogtreecommitdiff
path: root/gtk/gtkrc.c
diff options
context:
space:
mode:
authorElliot Lee <sopwith@src.gnome.org>1998-05-12 22:11:56 +0000
committerElliot Lee <sopwith@src.gnome.org>1998-05-12 22:11:56 +0000
commiteae7b32f85826a42b2c22f57744d88c2f7c5abfd (patch)
treec73b8b52489256823e4218471f3099b637b0c2e4 /gtk/gtkrc.c
parentc9e78a10947a24226f12e74e0985e485f51a664c (diff)
downloadgdk-pixbuf-eae7b32f85826a42b2c22f57744d88c2f7c5abfd.tar.gz
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.
Diffstat (limited to 'gtk/gtkrc.c')
-rw-r--r--gtk/gtkrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkrc.c b/gtk/gtkrc.c
index a929e9935..749e2c3fa 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;