From: Arch Librarian Date: Mon, 20 Sep 2004 16:53:16 +0000 (+0000) Subject: Fixed size mismatch X-Git-Tag: 0.7.24ubuntu1~1417 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/e5a1f2ff4cd1300364c7c644958583a8af704173 Fixed size mismatch Author: jgg Date: 1999-03-26 07:38:43 GMT Fixed size mismatch --- diff --git a/apt-pkg/depcache.cc b/apt-pkg/depcache.cc index 81127efb9..727f01462 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;