From 915bdcf748bc54410fb3e0b15c812cb7132c64e3 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Mon, 19 Jan 2009 12:54:05 +0100 Subject: * apt-pkg/pkgcachegen.cc: - fix apt-cache search for localized description (closes: #512110) --- apt-pkg/pkgcachegen.cc | 2 +- debian/changelog | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/apt-pkg/pkgcachegen.cc b/apt-pkg/pkgcachegen.cc index f71547f39..397c19829 100644 --- a/apt-pkg/pkgcachegen.cc +++ b/apt-pkg/pkgcachegen.cc @@ -143,7 +143,7 @@ bool pkgCacheGenerator::MergeList(ListParser &List, // don't add a new description if we have one for the given // md5 && language - for ( ; Desc.end() == false; LastDesc = &Desc->NextDesc, Desc++) + for ( ; Desc.end() == false; Desc++) if (MD5SumValue(Desc.md5()) == CurMd5 && Desc.LanguageCode() == List.DescriptionLanguage()) duplicate=true; diff --git a/debian/changelog b/debian/changelog index 2520be85b..ab93f2878 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,11 @@ apt (0.7.21) UNRELEASED; urgency=low + [ Michael Vogt ] + * apt-pkg/pkgcachegen.cc: + - fix apt-cache search for localized description + (closes: #512110) + + [ Christian Perrier ] * Translations: - fr.po: fix spelling error to "défectueux". Thanks to Thomas Péteul. -- cgit v1.2.3-70-g09d2