summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgcachegen.cc
diff options
context:
space:
mode:
authorDaniel Hartwig <mandyke@gmail.com>2012-06-14 19:14:55 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2012-06-14 19:14:55 +0200
commit0952aee667274d8d7986bc2d03597fdc6bde9584 (patch)
treeace07f0b3cd3f31f836af4383903dd14870f3fb8 /apt-pkg/pkgcachegen.cc
parent01f520ce27c7f466dc6191c45507ace79d685725 (diff)
* apt-pkg/pkgcachegen.cc:
- always reset _error->StackCount in MakeStatusCache (Closes: #677175)
Diffstat (limited to 'apt-pkg/pkgcachegen.cc')
-rw-r--r--apt-pkg/pkgcachegen.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/apt-pkg/pkgcachegen.cc b/apt-pkg/pkgcachegen.cc
index 538d10b35..f70cbd02a 100644
--- a/apt-pkg/pkgcachegen.cc
+++ b/apt-pkg/pkgcachegen.cc
@@ -1316,10 +1316,11 @@ bool pkgCacheGenerator::MakeStatusCache(pkgSourceList &List,OpProgress *Progress
}
_error->RevertToStack();
}
- else if (Debug == true)
+ else
{
_error->MergeWithStack();
- std::clog << "Open filebased MMap" << std::endl;
+ if (Debug == true)
+ std::clog << "Open filebased MMap" << std::endl;
}
}
if (Writeable == false || CacheFile.empty() == true)