releasing version 0.8.10.2 0.8.10.2
authorMichael Vogt <mvo@debian.org>
Tue, 25 Jan 2011 10:06:21 +0000 (11:06 +0100)
committerMichael Vogt <mvo@debian.org>
Tue, 25 Jan 2011 10:06:21 +0000 (11:06 +0100)
debian/changelog
ftparchive/apt-ftparchive.cc

index e983bbb..a4e8e5c 100644 (file)
@@ -1,3 +1,11 @@
+apt (0.8.10.2) unstable; urgency=low
+
+  [ David Kalnischkies ]
+  * ftparchive/apt-ftparchive.cc:
+    - fix endless loop for multiple TranslationsWriters
+
+ -- Michael Vogt <mvo@debian.org>  Tue, 25 Jan 2011 10:26:15 +0100
+
 apt (0.8.10.1) unstable; urgency=low
 
   [ Christian Perrier ]
index 73d3424..0c29002 100644 (file)
@@ -832,7 +832,7 @@ bool Generate(CommandLine &CmdL)
    }
 
    // close the Translation master files
-   for (vector<PackageMap>::iterator I = PkgList.begin(); I != PkgList.end(); I++)
+   for (vector<PackageMap>::reverse_iterator I = PkgList.rbegin(); I != PkgList.rend(); I++)
       if (I->TransWriter != NULL && I->TransWriter->DecreaseRefCounter() == 0)
         delete I->TransWriter;