diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/directory.h | 2 | ||||
-rw-r--r-- | src/update_walk.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/directory.h b/src/directory.h index 5c36291eb..9c0a9b567 100644 --- a/src/directory.h +++ b/src/directory.h @@ -43,7 +43,7 @@ struct directory { time_t mtime; ino_t inode; dev_t device; - bool stat; /* not needed if ino_t == dev_t == 0 is impossible */ + bool have_stat; /* not needed if ino_t == dev_t == 0 is impossible */ char path[sizeof(long)]; }; diff --git a/src/update_walk.c b/src/update_walk.c index 76c07773b..426bd62ff 100644 --- a/src/update_walk.c +++ b/src/update_walk.c @@ -86,7 +86,7 @@ directory_set_stat(struct directory *dir, const struct stat *st) { dir->inode = st->st_ino; dir->device = st->st_dev; - dir->stat = true; + dir->have_stat = true; } static void @@ -346,7 +346,7 @@ inodeFoundInParent(struct directory *parent, ino_t inode, dev_t device) { #ifndef G_OS_WIN32 while (parent) { - if (!parent->stat && statDirectory(parent) < 0) + if (!parent->have_stat && statDirectory(parent) < 0) return -1; if (parent->inode == inode && parent->device == device) { g_debug("recursive directory found"); |