Pārlūkot izejas kodu

* apt-pkg/depcache.cc:
- renamed "pkgstates" file to "extended_states"

Michael Vogt 20 gadi atpakaļ
vecāks
revīzija
aac2e51078
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      apt-pkg/depcache.cc

+ 2 - 2
apt-pkg/depcache.cc

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