summaryrefslogtreecommitdiff
path: root/apt-pkg/orderlist.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:57:43 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:57:43 +0000
commit7cd4153b300ac83b717792722ff88fda5ca8b441 (patch)
tree1daffa94b387271625acab1a4bc6e424a52795e8 /apt-pkg/orderlist.cc
parent135442b85cdd0ab62a4b45be588d7be5107f20bc (diff)
Fixed minor configuration ordering frooble
Author: jgg Date: 2001-04-27 04:47:58 GMT Fixed minor configuration ordering frooble
Diffstat (limited to 'apt-pkg/orderlist.cc')
-rw-r--r--apt-pkg/orderlist.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/apt-pkg/orderlist.cc b/apt-pkg/orderlist.cc
index 4bd603726..1f64db908 100644
--- a/apt-pkg/orderlist.cc
+++ b/apt-pkg/orderlist.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: orderlist.cc,v 1.12 2001/02/20 07:03:17 jgg Exp $
+// $Id: orderlist.cc,v 1.13 2001/04/27 04:47:58 jgg Exp $
/* ######################################################################
Order List - Represents and Manipulates an ordered list of packages.
@@ -119,8 +119,11 @@ bool pkgOrderList::IsMissing(PkgIterator Pkg)
if (Pkg.State() == pkgCache::PkgIterator::NeedsConfigure &&
Cache[Pkg].Keep() == true)
return false;
+
+ if (FileList == 0)
+ return false;
- if (FileList != 0 && FileList[Pkg->ID].empty() == false)
+ if (FileList[Pkg->ID].empty() == false)
return false;
return true;
}