HCoop
/
ntk
/
apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38e0052
)
apt-pkg/pkgcachegen.cc: when searching for duplicates in the description, avoid side...
author
Michael Vogt
<michael.vogt@ubuntu.com>
Mon, 19 Jan 2009 11:50:37 +0000
(12:50 +0100)
committer
Michael Vogt
<michael.vogt@ubuntu.com>
Mon, 19 Jan 2009 11:50:37 +0000
(12:50 +0100)
apt-pkg/pkgcachegen.cc
patch
|
blob
|
blame
|
history
diff --git
a/apt-pkg/pkgcachegen.cc
b/apt-pkg/pkgcachegen.cc
index
f71547f
..
397c198
100644
(file)
--- 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;