summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2007-06-09 01:40:31 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2007-06-09 01:40:31 +0200
commit686d0fad160a51d8833a9429ec3a68de6f13c2d5 (patch)
treed1fa0545a69bfb8c0d2f633c5938930c785808a9 /apt-pkg
parent468126e3030ac3db47e4c7d361badf99c338fdf4 (diff)
downloadapt-686d0fad160a51d8833a9429ec3a68de6f13c2d5.tar.gz
* merged another missing bit from the ubuntu branch
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/depcache.cc2
-rw-r--r--apt-pkg/depcache.h2
2 files changed, 2 insertions, 2 deletions
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;};