diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2012-06-29 15:34:12 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2012-06-29 15:34:12 +0200 |
commit | 7ac4503f3e0ccf0fbad592179331c0f1bba427a5 (patch) | |
tree | 67930f70476dfc80d85e228d1f8efa3dc276947a /apt-pkg/pkgcache.cc | |
parent | 7cb48e888df3f4a7156d39515e6573aed66acd39 (diff) | |
parent | 545ba6bdd8cb77ceca6b9fdc935db2accbea3493 (diff) |
merged from the debian-sid branch
Diffstat (limited to 'apt-pkg/pkgcache.cc')
-rw-r--r-- | apt-pkg/pkgcache.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/pkgcache.cc b/apt-pkg/pkgcache.cc index f694a237e..9acb7da72 100644 --- a/apt-pkg/pkgcache.cc +++ b/apt-pkg/pkgcache.cc @@ -970,7 +970,7 @@ bool pkgCache::PrvIterator::IsMultiArchImplicit() const { pkgCache::PkgIterator const Owner = OwnerPkg(); pkgCache::PkgIterator const Parent = ParentPkg(); - if (Owner->Arch != Parent->Arch || Owner->Name == Parent->Name) + if (strcmp(Owner.Arch(), Parent.Arch()) != 0 || Owner->Name == Parent->Name) return true; return false; } |