From e5a1f2ff4cd1300364c7c644958583a8af704173 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:53:16 +0000 Subject: Fixed size mismatch Author: jgg Date: 1999-03-26 07:38:43 GMT Fixed size mismatch --- apt-pkg/depcache.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'apt-pkg') diff --git a/apt-pkg/depcache.cc b/apt-pkg/depcache.cc index 81127efb..727f0146 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.14 1998/12/22 08:01:04 jgg Exp $ +// $Id: depcache.cc,v 1.15 1999/03/26 07:38:43 jgg Exp $ /* ###################################################################### Dependency Cache - Caches Dependency information. @@ -215,7 +215,8 @@ void pkgDepCache::AddSizes(const PkgIterator &Pkg,long Mult) { StateCache &P = PkgState[Pkg->ID]; - if (Pkg.State() == pkgCache::PkgIterator::NeedsConfigure) + if (Pkg.State() == pkgCache::PkgIterator::NeedsConfigure && + P.Keep() == true) { iUsrSize += Mult*P.InstVerIter(*this)->InstalledSize; return; -- cgit v1.2.3