summaryrefslogtreecommitdiff
path: root/ftparchive
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-01-25 12:29:58 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-01-25 12:29:58 +0100
commitb00a6e80892dcbf844ee70a449288e87290a821d (patch)
tree83ea32046f909418fe6ba0c65721712fbda6687c /ftparchive
parent321dfa5e570389c489b0f7f0f34ab983cebe7463 (diff)
parent17c09907ffee9773ff416f9c5a0dc168326a8504 (diff)
merge with debian-sid
[ Christian Perrier ] * Fix encoding for Slovenian translation. PO file switched to UTF-8. Closes: #609957 [ David Kalnischkies ] * ftparchive/apt-ftparchive.cc: - fix endless loop for multiple TranslationsWriters [ Julian Andres Klode ] * cmdline/apt-cache.cc: Create an error for apt-cache depends if packages could not found (LP: #647045) [ Manpages translations ] * Correct a typo and an error in French manpages translation. Closes: # 607170 [ Programs translations ] * po/es.po: Updated, plus fixes encoding issues and fixes two fuzzy strings, thanks to Javier Fernandez-Sanguino (closes: #610692) * Spanish update by Javier Fernández-Sanguino Peña. Closes: #607145
Diffstat (limited to 'ftparchive')
-rw-r--r--ftparchive/apt-ftparchive.cc2
1 files changed, 1 insertions, 1 deletions
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<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;