]> git.saurik.com Git - apt.git/commitdiff
* merged another missing bit from the ubuntu branch
authorMichael Vogt <michael.vogt@ubuntu.com>
Fri, 8 Jun 2007 23:40:31 +0000 (01:40 +0200)
committerMichael Vogt <michael.vogt@ubuntu.com>
Fri, 8 Jun 2007 23:40:31 +0000 (01:40 +0200)
apt-pkg/depcache.cc
apt-pkg/depcache.h

index af2fd54c7a10f7ad33cde8d8b70c7fb3d1c9d52b..fe981ea763a339a35e44e5f7c4df2cb3cebb8551 100644 (file)
@@ -178,7 +178,7 @@ bool pkgDepCache::readStateFile(OpProgress *Prog)
    return true;
 }
 
    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;
 {
    if(_config->FindB("Debug::pkgAutoRemove",false))
       std::clog << "pkgDepCache::writeStateFile()" << std::endl;
index b2bcfb58a2786c60e65e16ed30d3d9ec5e366e1b..84fed7f3732fc455bdab2c298680928cfc7c1f17 100644 (file)
@@ -403,7 +403,7 @@ class pkgDepCache : protected pkgCache::Namespace
 
    // read persistent states
    bool readStateFile(OpProgress *prog);
 
    // 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;};
    
    // Size queries
    inline double UsrSize() {return iUsrSize;};