]> git.saurik.com Git - apt.git/commit
Do not swap required and important in pkgCache::Priority()
authorJulian Andres Klode <jak@debian.org>
Thu, 10 Dec 2015 08:48:21 +0000 (09:48 +0100)
committerJulian Andres Klode <jak@debian.org>
Thu, 10 Dec 2015 09:02:21 +0000 (10:02 +0100)
commit2fcd25a9e26093b8d1228107b5b0019675984114
treed5033e8cea28e8461d9f7ce522cb5764f08a2979
parentb3c63712e4e54e3743c302416528423def4eefbb
Do not swap required and important in pkgCache::Priority()

required and important were swapped, leading to wrong
output.

Closes: #807523
Thanks: Manuel A. Fernandez Montecelo for discovering this
apt-pkg/orderlist.cc
apt-pkg/pkgcache.cc
test/libapt/priority_test.cc [new file with mode: 0644]