// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: cachefile.cc,v 1.5 2001/02/20 07:03:17 jgg Exp $
+// $Id: cachefile.cc,v 1.7 2001/07/01 20:49:08 jgg Exp $
/* ######################################################################
CacheFile - Simple wrapper class for opening, generating and whatnot
if (_system->Lock() == false)
return false;
+ if (_config->FindB("Debug::NoLocking",false) == true)
+ WithLock = false;
+
if (_error->PendingError() == true)
return false;
/* This sux, remove it someday */
if (_error->empty() == false)
- _error->Warning(_("You may want to run apt-get update to correct these missing files"));
+ _error->Warning(_("You may want to run apt-get update to correct these problems"));
Cache = new pkgCache(Map);
if (_error->PendingError() == true)