diff options
author | Michael Vogt <egon@debian-devbox> | 2012-07-27 19:18:59 +0200 |
---|---|---|
committer | Michael Vogt <egon@debian-devbox> | 2012-07-27 19:18:59 +0200 |
commit | b9c917bd62e7b1eb227d4f3a7321559ddb96e494 (patch) | |
tree | 3169d9875a6b94fbf03d3eb8ab265e67b40d4b25 /apt-pkg/packagemanager.cc | |
parent | 24123a1f4341dfc45481af1a8462d7f9aeecc746 (diff) | |
parent | fbda0ee9d9f5ecd34d38f0e416837e8ef3a10f68 (diff) |
merged from david0.9.7.3
Diffstat (limited to 'apt-pkg/packagemanager.cc')
-rw-r--r-- | apt-pkg/packagemanager.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/packagemanager.cc b/apt-pkg/packagemanager.cc index 46fc499c6..b93bf6ab9 100644 --- a/apt-pkg/packagemanager.cc +++ b/apt-pkg/packagemanager.cc @@ -643,7 +643,7 @@ bool pkgPackageManager::SmartUnPack(PkgIterator Pkg, bool const Immediate, int c } // Look for something that could be configured. - for (DepIterator Cur = Start; Bad == true; ++Cur) + for (DepIterator Cur = Start; Bad == true && Cur.end() == false; ++Cur) { SPtrArray<Version *> VList = Cur.AllTargets(); for (Version **I = VList; *I != 0; ++I) |