Browse Source

* merged another missing bit from the ubuntu branch

Michael Vogt 19 years ago
parent
commit
686d0fad16
2 changed files with 2 additions and 2 deletions
  1. 1 1
      apt-pkg/depcache.cc
  2. 1 1
      apt-pkg/depcache.h

+ 1 - 1
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;

+ 1 - 1
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;};