From: Michael Vogt Date: Fri, 8 Jun 2007 23:40:31 +0000 (+0200) Subject: * merged another missing bit from the ubuntu branch X-Git-Tag: 0.7.21~277^2~1 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/686d0fad160a51d8833a9429ec3a68de6f13c2d5 * merged another missing bit from the ubuntu branch --- diff --git a/apt-pkg/depcache.cc b/apt-pkg/depcache.cc index af2fd54c7..fe981ea76 100644 --- a/apt-pkg/depcache.cc +++ b/apt-pkg/depcache.cc @@ -178,7 +178,7 @@ bool pkgDepCache::readStateFile(OpProgress *Prog) return true; } -bool pkgDepCache::writeStateFile(OpProgress *prog) +bool pkgDepCache::writeStateFile(OpProgress *prog, bool InstalledOnly) { if(_config->FindB("Debug::pkgAutoRemove",false)) std::clog << "pkgDepCache::writeStateFile()" << std::endl; diff --git a/apt-pkg/depcache.h b/apt-pkg/depcache.h index b2bcfb58a..84fed7f37 100644 --- a/apt-pkg/depcache.h +++ b/apt-pkg/depcache.h @@ -403,7 +403,7 @@ class pkgDepCache : protected pkgCache::Namespace // read persistent states bool readStateFile(OpProgress *prog); - bool writeStateFile(OpProgress *prog); + bool writeStateFile(OpProgress *prog, bool InstalledOnly=false); // Size queries inline double UsrSize() {return iUsrSize;};