From edfee67fdfc443b10d92e6e85a93cda0dcc1e680 Mon Sep 17 00:00:00 2001 From: Michael Vrable Date: Sat, 14 Jul 2007 15:45:46 -0700 Subject: [PATCH] Fix a bug in statcache support for file sizes. This had the effect of renderig the statcache useless (all files would be entirely read), but apart from the performance issue should have caused any problems. --- statcache.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/statcache.cc b/statcache.cc index 8e48c79..cccbf5b 100644 --- a/statcache.cc +++ b/statcache.cc @@ -173,7 +173,7 @@ void StatCache::ReadNext() if (fields.count("inode")) old_inode = parse_int(fields["inode"]); if (fields.count("size")) - old_inode = parse_int(fields["size"]); + old_size = parse_int(fields["size"]); old_checksum = fields["checksum"]; -- 2.20.1