diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2005-08-22 10:19:43 +0000 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2005-08-22 10:19:43 +0000 |
commit | 3de9ff77a811d67632c9948a953e628ed6a2b78a (patch) | |
tree | 4ab2fc3f7f4be11c6343f2124ce1a74462f5a4a7 /apt-pkg/acquire-item.cc | |
parent | 59a704f0efe9cf243f1b27ac833558b89728aa9c (diff) |
* bugfix/updates in the rred.cc code (big thanks for helping Robert!)
Diffstat (limited to 'apt-pkg/acquire-item.cc')
-rw-r--r-- | apt-pkg/acquire-item.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc index 43d29c737..b8886a750 100644 --- a/apt-pkg/acquire-item.cc +++ b/apt-pkg/acquire-item.cc @@ -255,6 +255,7 @@ void pkgAcqIndexDiffs::Finish(bool allDone) bool pkgAcqIndexDiffs::QueueNextDiff() { + // calc sha1 of the just patched file string FinalFile = _config->FindDir("Dir::State::lists"); FinalFile += URItoFileName(RealURI); @@ -263,6 +264,9 @@ bool pkgAcqIndexDiffs::QueueNextDiff() SHA1Summation SHA1; SHA1.AddFD(fd.Fd(), fd.Size()); string local_sha1 = string(SHA1.Result()); + if(Debug) + std::clog << "QueueNextDiff: " + << FinalFile << " (" << local_sha1 << ")"<<std::endl; // remove all patches until the next matching patch is found // this requires the Index file to be ordered |