// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: cachefile.cc,v 1.1 1999/04/18 06:36:36 jgg Exp $
+// $Id: cachefile.cc,v 1.4 1999/06/24 04:06:30 jgg Exp $
/* ######################################################################
CacheFile - Simple wrapper class for opening, generating and whatnot
// CacheFile::CacheFile - Constructor /*{{{*/
// ---------------------------------------------------------------------
/* */
-pkgCacheFile::pkgCacheFile() : Map(0), Cache(0), Lock()
+pkgCacheFile::pkgCacheFile() : Map(0), Cache(0), Lock(0)
{
}
/*}}}*/
if (_error->PendingError() == true)
return _error->Error("The package lists or status file could not be parsed or opened.");
if (_error->empty() == false)
- _error->Warning("You may want to run apt-get update to correct theses missing files");
+ _error->Warning("You may want to run apt-get update to correct these missing files");
// Open the cache file
FileFd File(_config->FindFile("Dir::Cache::pkgcache"),FileFd::ReadOnly);
// Create the dependency cache
Cache = new pkgDepCache(*Map,Progress);
+ Progress.Done();
if (_error->PendingError() == true)
return false;
-
- Progress.Done();
return true;
}