projects
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: don't do boundless string compares with data()
[apt.git]
/
apt-inst
/
extract.cc
diff --git
a/apt-inst/extract.cc
b/apt-inst/extract.cc
index b60784450654e8b65b0cd5eab52e72e721bc9410..5d42adf87821bb4b120fbc035622ce2aacb67c5d 100644
(file)
--- 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
map_ptrloc *Last = &FLPkg->Files;
/* Loop over all files, restore those that have been unpacked from their
- dpkg-tmp ent
ir
es */
+ dpkg-tmp ent
ri
es */
while (Files.end() == false)
{
// Locate the hash bucket for the node and locate its group head
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;
// 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;
{
if (Dep->Type != pkgCache::Dep::Replaces)
continue;