* Patch from Koblinger Egmont <egmont@uhulinux.hu> to fix
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 17:03:55 +0000 (17:03 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 17:03:55 +0000 (17:03 +0000)
Author: mdz
Date: 2003-10-09 23:15:25 GMT
* Patch from Koblinger Egmont <egmont@uhulinux.hu> to fix
pkgCache::PkgFileIterator::Label() to correcctly refer to File->Label
rather than File->Origin (Closes: #213311)

apt-pkg/cacheiterators.h
debian/changelog

index cb8e0cd..d8fde81 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: cacheiterators.h,v 1.17 2001/04/29 05:13:51 jgg Exp $
+// $Id: cacheiterators.h,v 1.18 2003/10/09 23:15:25 mdz Exp $
 /* ######################################################################
    
    Cache Iterators - Iterators for navigating the cache structure
@@ -289,7 +289,7 @@ class pkgCache::PkgFileIterator
    inline const char *Component() const {return File->Component == 0?0:Owner->StrP + File->Component;};
    inline const char *Version() const {return File->Version == 0?0:Owner->StrP + File->Version;};
    inline const char *Origin() const {return File->Origin == 0?0:Owner->StrP + File->Origin;};
-   inline const char *Label() const {return File->Origin == 0?0:Owner->StrP + File->Label;};
+   inline const char *Label() const {return File->Label == 0?0:Owner->StrP + File->Label;};
    inline const char *Site() const {return File->Site == 0?0:Owner->StrP + File->Site;};
    inline const char *Architecture() const {return File->Architecture == 0?0:Owner->StrP + File->Architecture;};
    inline const char *IndexType() const {return File->IndexType == 0?0:Owner->StrP + File->IndexType;};
index dd5344e..d282f93 100644 (file)
@@ -5,6 +5,9 @@ apt (0.5.15) unstable; urgency=low
     - apt.es.8 wasn't included in the patch, but was referenced.  Fetched
       version 1.3 from debian-doc cvs
     - Create doc/es/.cvsignore
+  * Patch from Koblinger Egmont <egmont@uhulinux.hu> to fix
+    pkgCache::PkgFileIterator::Label() to correcctly refer to File->Label
+    rather than File->Origin (Closes: #213311)
 
  --