"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "apt-pkg/cacheset.cc" between
apt-2.1.3.tar.gz and apt-2.1.4.tar.gz

About: Apt (Advanced Package Tool) is a management system for software packages (Debian/Ubuntu). Release series 2.1.

cacheset.cc  (apt-2.1.3):cacheset.cc  (apt-2.1.4)
skipping to change at line 602 skipping to change at line 602
}; };
pkgCache::PkgIterator const T = D.TargetPkg(); pkgCache::PkgIterator const T = D.TargetPkg();
auto const insertAllTargetVersions = [&](auto const &getTargetVersion) { auto const insertAllTargetVersions = [&](auto const &getTargetVersion) {
insertVersion(T, getTargetVersion(T)); insertVersion(T, getTargetVersion(T));
for (auto Prv = T.ProvidesList(); not Prv.end(); ++Prv) for (auto Prv = T.ProvidesList(); not Prv.end(); ++Prv)
{ {
if (D.IsIgnorable(Prv)) if (D.IsIgnorable(Prv))
continue; continue;
auto const OP = Prv.OwnerPkg(); auto const OP = Prv.OwnerPkg();
auto const TV = getTargetVersion(OP); auto const TV = getTargetVersion(OP);
if (Prv.OwnerVer() == TV && D.IsSatisfied(TV)) if (Prv.OwnerVer() == TV && D.IsSatisfied(Prv))
{ {
vci->insert(TV); vci->insert(TV);
found = true; found = true;
} }
} }
return found; return found;
}; };
switch(selector) { switch(selector) {
case CacheSetHelper::ALL: case CacheSetHelper::ALL:
for (auto Ver = T.VersionList(); not Ver.end(); ++Ver) for (auto Ver = T.VersionList(); not Ver.end(); ++Ver)
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)