summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:58:29 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:58:29 +0000
commitc37b9502fd00e03d7722314f94beb4f1441f621f (patch)
tree84efe6a966b8515b7c7056a27103e2a1752d2d99 /apt-pkg
parent11e97c45a67ab4a33975d178889cb4399c7dc01b (diff)
Various bug fixes
Author: jgg Date: 2001-07-01 20:49:08 GMT Various bug fixes
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/cachefile.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/apt-pkg/cachefile.cc b/apt-pkg/cachefile.cc
index 4bc93fd7c..8b3b02171 100644
--- a/apt-pkg/cachefile.cc
+++ b/apt-pkg/cachefile.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: cachefile.cc,v 1.6 2001/03/13 06:51:46 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
@@ -55,6 +55,9 @@ bool pkgCacheFile::Open(OpProgress &Progress,bool WithLock)
if (_system->Lock() == false)
return false;
+ if (_config->FindB("Debug::NoLocking",false) == true)
+ WithLock = false;
+
if (_error->PendingError() == true)
return false;