X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/6c139d6e362f04a1582e8a8f511f8aeab031fecf..36f610f18a9a12c02ba89c6bb84726f7ed3ba7ad:/apt-pkg/orderlist.cc?ds=sidebyside diff --git a/apt-pkg/orderlist.cc b/apt-pkg/orderlist.cc index f79a063bd..04d8c4c7e 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.1 1998/07/07 04:17:01 jgg Exp $ +// $Id: orderlist.cc,v 1.3 1998/09/26 05:34:21 jgg Exp $ /* ###################################################################### Order List - Represents and Manipulates an ordered list of packages. @@ -50,12 +50,12 @@ /*}}}*/ // Include Files /*{{{*/ #ifdef __GNUG__ -#pragma implementation "pkglib/orderlist.h" +#pragma implementation "apt-pkg/orderlist.h" #endif -#include -#include -#include -#include +#include +#include +#include +#include /*}}}*/ pkgOrderList *pkgOrderList::Me = 0; @@ -402,6 +402,7 @@ bool pkgOrderList::VisitProvides(DepIterator D) bool pkgOrderList::VisitNode(PkgIterator Pkg) { // Looping or irrelevent. + // This should probably trancend not installed packages if (Pkg.end() == true || IsFlag(Pkg,Added) == true || IsFlag(Pkg,AddPending) == true || IsFlag(Pkg,InList) == false) return true;