projects
/
cumulus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e053c84
)
Minor formatting fix when outputting the statcache file.
author
Michael Vrable
<mvrable@cs.ucsd.edu>
Tue, 19 Jun 2007 00:45:55 +0000
(17:45 -0700)
committer
Michael Vrable
<mvrable@turin.ucsd.edu>
Tue, 19 Jun 2007 00:45:55 +0000
(17:45 -0700)
statcache.cc
patch
|
blob
|
history
diff --git
a/statcache.cc
b/statcache.cc
index
71f6b36
..
03cfd95
100644
(file)
--- a/
statcache.cc
+++ b/
statcache.cc
@@
-70,6
+70,8
@@
void StatCache::Save(const string &path, struct stat *stat_buf,
<< "checksum: " << checksum << "\n";
*newcache << "blocks:";
+ if (blocks.size() == 0)
+ *newcache << "\n";
for (list<string>::const_iterator i = blocks.begin();
i != blocks.end(); ++i) {
*newcache << " " << *i << "\n";