Преглед изворни кода

* apt-pkg/pkgcachegen.cc:
- do not create 'native' (or now 'none') package structures as a side
effect of description translation parsing as it pollutes the cache

David Kalnischkies пре 14 година
родитељ
комит
8ec008808c
2 измењених фајлова са 5 додато и 0 уклоњено
  1. 2 0
      apt-pkg/pkgcachegen.cc
  2. 3 0
      debian/changelog

+ 2 - 0
apt-pkg/pkgcachegen.cc

@@ -195,8 +195,10 @@ bool pkgCacheGenerator::MergeList(ListParser &List,
       string const Version = List.Version();
       string const Version = List.Version();
       if (Version.empty() == true && Arch.empty() == true)
       if (Version.empty() == true && Arch.empty() == true)
       {
       {
+	 // package descriptions
 	 if (MergeListGroup(List, PackageName) == false)
 	 if (MergeListGroup(List, PackageName) == false)
 	    return false;
 	    return false;
+	 continue;
       }
       }
 
 
       if (Arch.empty() == true)
       if (Arch.empty() == true)

+ 3 - 0
debian/changelog

@@ -32,6 +32,9 @@ apt (0.9.7.5) UNRELEASED; urgency=low
     - do not warn about files which have a record in the Release file, but
     - do not warn about files which have a record in the Release file, but
       are not present on the CD to mirror the behavior of the other methods
       are not present on the CD to mirror the behavior of the other methods
       and to allow uncompressed indexes to be dropped without scaring users
       and to allow uncompressed indexes to be dropped without scaring users
+  * apt-pkg/pkgcachegen.cc:
+    - do not create 'native' (or now 'none') package structures as a side
+      effect of description translation parsing as it pollutes the cache
 
 
  -- David Kalnischkies <kalnischkies@gmail.com>  Sun, 26 Aug 2012 10:49:17 +0200
  -- David Kalnischkies <kalnischkies@gmail.com>  Sun, 26 Aug 2012 10:49:17 +0200