projects
/
cumulus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94357fd
)
Fix a bug in statcache support for file sizes.
author
Michael Vrable
<mvrable@cs.ucsd.edu>
Sat, 14 Jul 2007 22:45:46 +0000
(15:45 -0700)
committer
Michael Vrable
<mvrable@turin.ucsd.edu>
Sat, 14 Jul 2007 22:45:46 +0000
(15:45 -0700)
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
patch
|
blob
|
history
diff --git
a/statcache.cc
b/statcache.cc
index
8e48c79
..
cccbf5b
100644
(file)
--- 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_
inod
e = parse_int(fields["size"]);
+ old_
siz
e = parse_int(fields["size"]);
old_checksum = fields["checksum"];