summaryrefslogtreecommitdiff
path: root/apt-private/private-install.h
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-11-29 17:10:35 +0100
committerMichael Vogt <mvo@debian.org>2013-11-29 18:53:51 +0100
commit2f5ed336109d11e06d08bedef6b37d6597c4c09c (patch)
treeddb3307943cdfbbf116c0313bbe9e4f07386b838 /apt-private/private-install.h
parentc9a5f74bd57fa4fcf4e30cade8e48c5635448689 (diff)
fix crash when SetCandidateRelease is used
Diffstat (limited to 'apt-private/private-install.h')
-rw-r--r--apt-private/private-install.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/apt-private/private-install.h b/apt-private/private-install.h
index 439c89712..2187146d3 100644
--- a/apt-private/private-install.h
+++ b/apt-private/private-install.h
@@ -95,6 +95,9 @@ struct TryToInstall {
Cache->GetDepCache()->SetCandidateVersion(s->first);
bool Success = true;
+ // the Changed list contains:
+ // first: "new version"
+ // second: "what-caused the change"
std::list<std::pair<pkgCache::VerIterator, pkgCache::VerIterator> > Changed;
for (std::list<std::pair<pkgCache::VerIterator, std::string> >::const_iterator s = start.begin();
s != start.end(); ++s)