* apt-pkg/depcache.cc:
authorMichael Vogt <michael.vogt@ubuntu.com>
Mon, 26 Jun 2006 04:33:22 +0000 (06:33 +0200)
committerMichael Vogt <michael.vogt@ubuntu.com>
Mon, 26 Jun 2006 04:33:22 +0000 (06:33 +0200)
  - renamed "pkgstates" file to "extended_states"

apt-pkg/depcache.cc

index 6eb6c1d..4e94881 100644 (file)
@@ -142,7 +142,7 @@ bool pkgDepCache::Init(OpProgress *Prog)
 bool pkgDepCache::readStateFile(OpProgress *Prog)
 {
    FileFd state_file;
-   string state = _config->FindDir("Dir::State") + "pkgstates";
+   string state = _config->FindDir("Dir::State") + "extended_states";
    if(FileExists(state)) {
       state_file.Open(state, FileFd::ReadOnly);
       int file_size = state_file.Size();
@@ -181,7 +181,7 @@ bool pkgDepCache::readStateFile(OpProgress *Prog)
 bool pkgDepCache::writeStateFile(OpProgress *prog)
 {
    FileFd StateFile;
-   string state = _config->FindDir("Dir::State") + "pkgstates";
+   string state = _config->FindDir("Dir::State") + "extended_states";
 
    if(_config->FindB("Debug::pkgAutoRemove",false))
       std::clog << "pkgDepCache::writeStateFile()" << std::endl;