X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/9055d5e68bd09f31df00e45bd14cb599ba3735e5..8deda84ed86bae6bfa83f5c25d15fd4611c637c0:/apt-private/private-show.cc diff --git a/apt-private/private-show.cc b/apt-private/private-show.cc index aaa4268c6..c2517e130 100644 --- a/apt-private/private-show.cc +++ b/apt-private/private-show.cc @@ -219,6 +219,7 @@ static bool DisplayRecordV2(pkgCacheFile &CacheFile, pkgCache::VerIterator const RW.push_back(pkgTagSection::Tag::Remove("Description")); RW.push_back(pkgTagSection::Tag::Remove("Description-md5")); // improve + RW.push_back(pkgTagSection::Tag::Rewrite("Package", V.ParentPkg().FullName(true))); RW.push_back(pkgTagSection::Tag::Rewrite("Installed-Size", installed_size)); RW.push_back(pkgTagSection::Tag::Remove("Size")); RW.push_back(pkgTagSection::Tag::Rewrite("Download-Size", package_size)); @@ -396,7 +397,7 @@ bool Policy(CommandLine &CmdL) continue; } // New code - for (pkgCache::VerIterator V = I.VersionList(); !V.end(); V++) { + for (pkgCache::VerIterator V = I.VersionList(); !V.end(); ++V) { auto Prio = Plcy->GetPriority(V, false); if (Prio == 0) continue;