When comparing a file against the stat cache, check size field too.
[cumulus.git] / statcache.h
index e0e2fbb..6186f88 100644 (file)
@@ -56,7 +56,7 @@ private:
     /* Information about one file read from the old cache. */
     bool end_of_cache;
     bool old_is_validated;
-    int64_t old_mtime, old_ctime, old_inode;
+    int64_t old_mtime, old_ctime, old_inode, old_size;
     std::string old_name, old_checksum;
     std::list<ObjectReference> old_contents;
 };