]> git.saurik.com Git - apt.git/commitdiff
* apt-pkg/pkgcachegen.cc:
authorDaniel Hartwig <mandyke@gmail.com>
Thu, 14 Jun 2012 17:14:55 +0000 (19:14 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Thu, 14 Jun 2012 17:14:55 +0000 (19:14 +0200)
  - always reset _error->StackCount in MakeStatusCache (Closes: #677175)

apt-pkg/pkgcachegen.cc
debian/changelog

index 538d10b35136616b8563e1710a59f5bd22d59ef5..f70cbd02a67e62b8b4e325c0029d0b3b908dca9c 100644 (file)
@@ -1316,10 +1316,11 @@ bool pkgCacheGenerator::MakeStatusCache(pkgSourceList &List,OpProgress *Progress
         }
         _error->RevertToStack();
       }
-      else if (Debug == true)
+      else
       {
         _error->MergeWithStack();
-        std::clog << "Open filebased MMap" << std::endl;
+        if (Debug == true)
+           std::clog << "Open filebased MMap" << std::endl;
       }
    }
    if (Writeable == false || CacheFile.empty() == true)
index ca49a7ace9a63579325dbc995ff4080fc0997293..69f4778f3591edc5bdcd6c2dcfef02ff0bf5829a 100644 (file)
@@ -1,5 +1,9 @@
 apt (0.9.6.1) UNRELEASED; urgency=low
 
+  [ Daniel Hartwig ]
+  * apt-pkg/pkgcachegen.cc:
+    - always reset _error->StackCount in MakeStatusCache (Closes: #677175)
+
   [ David Kalnischkies ]
   * apt-pkg/deb/deblistparser.cc:
     - ensure that mixed positive/negative architecture wildcards