diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:57:32 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:57:32 +0000 |
commit | 2ed9b455cb103da95fe0c6cb81040be2b340c1bf (patch) | |
tree | 0e72afd7e42b3ccb574b0dac7f691cb1e2481b0a /apt-pkg/depcache.cc | |
parent | c2d86e70f5899b131820b58b9d550d6a52cd4c4f (diff) |
Fixed v-provides priority selection
Author: jgg
Date: 2001-04-25 06:17:00 GMT
Fixed v-provides priority selection
Diffstat (limited to 'apt-pkg/depcache.cc')
-rw-r--r-- | apt-pkg/depcache.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apt-pkg/depcache.cc b/apt-pkg/depcache.cc index d410413d4..507416217 100644 --- a/apt-pkg/depcache.cc +++ b/apt-pkg/depcache.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: depcache.cc,v 1.23 2001/02/20 07:03:17 jgg Exp $ +// $Id: depcache.cc,v 1.24 2001/04/25 06:17:00 jgg Exp $ /* ###################################################################### Dependency Cache - Caches Dependency information. @@ -669,7 +669,7 @@ void pkgDepCache::MarkInstall(PkgIterator const &Pkg,bool AutoInst, succeed. We have already cached this.. */ for (; Ors > 1 && (DepState[Start->ID] & DepCVer) != DepCVer; Ors--) Start++; - + /* This bit is for processing the possibilty of an install/upgrade fixing the problem */ SPtrArray<Version *> List = Start.AllTargets(); @@ -691,7 +691,7 @@ void pkgDepCache::MarkInstall(PkgIterator const &Pkg,bool AutoInst, } // Select the highest priority providing package - if (InstPkg.end() == false) + if (InstPkg.end() == true) { pkgPrioSortList(*Cache,Cur); for (; *Cur != 0; Cur++) |