diff options
author | Elliot Lee <sopwith@src.gnome.org> | 1998-05-12 22:11:56 +0000 |
---|---|---|
committer | Elliot Lee <sopwith@src.gnome.org> | 1998-05-12 22:11:56 +0000 |
commit | eae7b32f85826a42b2c22f57744d88c2f7c5abfd (patch) | |
tree | c73b8b52489256823e4218471f3099b637b0c2e4 /gtk | |
parent | c9e78a10947a24226f12e74e0985e485f51a664c (diff) | |
download | gtk+-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')
-rw-r--r-- | gtk/gtkrc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |