X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/be20eef52da4b7f361333ea70a8d705a98ae779e..7c1dca1439b956a085b09c73fdbe5a66af20241b:/apt-inst/extract.cc diff --git a/apt-inst/extract.cc b/apt-inst/extract.cc index b60784450..5d42adf87 100644 --- a/apt-inst/extract.cc +++ b/apt-inst/extract.cc @@ -279,7 +279,7 @@ bool pkgExtract::Aborted() map_ptrloc *Last = &FLPkg->Files; /* Loop over all files, restore those that have been unpacked from their - dpkg-tmp entires */ + dpkg-tmp entries */ while (Files.end() == false) { // Locate the hash bucket for the node and locate its group head @@ -404,7 +404,7 @@ bool pkgExtract::HandleOverwrites(pkgFLCache::NodeIterator Nde, // Now see if this package matches one in a replace depends pkgCache::DepIterator Dep = Ver.DependsList(); bool Ok = false; - for (; Dep.end() == false; Dep++) + for (; Dep.end() == false; ++Dep) { if (Dep->Type != pkgCache::Dep::Replaces) continue;