diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-06 02:07:56 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-06 02:07:56 -0500 |
commit | 05d0f1a17f9f4a9d659274d91dfb164055453637 (patch) | |
tree | ece58237ae3883aba0153ce32465acde09b2b4b5 /src/journal.cc | |
parent | 61f7d1295fb427f75861e37856c3e403f7f98f39 (diff) | |
download | fork-ledger-05d0f1a17f9f4a9d659274d91dfb164055453637.tar.gz fork-ledger-05d0f1a17f9f4a9d659274d91dfb164055453637.tar.bz2 fork-ledger-05d0f1a17f9f4a9d659274d91dfb164055453637.zip |
The binary cache is working again
Diffstat (limited to 'src/journal.cc')
-rw-r--r-- | src/journal.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/journal.cc b/src/journal.cc index 31557635..3a4ada47 100644 --- a/src/journal.cc +++ b/src/journal.cc @@ -201,7 +201,8 @@ std::size_t journal_t::read(const path& pathname, ifstream stream(filename); std::size_t count = read(stream, filename, master, scope); - sources.push_back(fileinfo_t(filename)); + if (count > 0) + sources.push_back(fileinfo_t(filename)); return count; } |