From f92800f801341091b25af96c34927529f36ad65a Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Tue, 25 Jan 2011 11:06:21 +0100 Subject: releasing version 0.8.10.2 --- debian/changelog | 8 ++++++++ ftparchive/apt-ftparchive.cc | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index e983bbb3f..a4e8e5c90 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Tue, 25 Jan 2011 10:26:15 +0100 + apt (0.8.10.1) unstable; urgency=low [ Christian Perrier ] diff --git a/ftparchive/apt-ftparchive.cc b/ftparchive/apt-ftparchive.cc index 73d34249b..0c29002e6 100644 --- a/ftparchive/apt-ftparchive.cc +++ b/ftparchive/apt-ftparchive.cc @@ -832,7 +832,7 @@ bool Generate(CommandLine &CmdL) } // close the Translation master files - for (vector::iterator I = PkgList.begin(); I != PkgList.end(); I++) + for (vector::reverse_iterator I = PkgList.rbegin(); I != PkgList.rend(); I++) if (I->TransWriter != NULL && I->TransWriter->DecreaseRefCounter() == 0) delete I->TransWriter; -- cgit v1.2.3