]> git.saurik.com Git - apt.git/commit - test/integration/test-bug-543966-downgrade-below-1000-pin
remove unused and strange default-value for pins
authorDavid Kalnischkies <david@kalnischkies.de>
Tue, 28 Apr 2015 21:59:00 +0000 (23:59 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Mon, 11 May 2015 15:22:32 +0000 (17:22 +0200)
commitab640001ee772fa27ee789f6717805f9d46d5bce
tree0b5b25fae6faf4f6da0f76e0e6e05c4c78f01151
parent3f732aa6ad0a81b6a6942a61fd5ed26a26590e8e
remove unused and strange default-value for pins

If the pin for a generic pin is 0, it get a value by strange looking
rules, if the pin is specific the rules are at least not strange, but
the value 989 is a magic number without any direct meaning… but both
never happens in practice as the parsing skips such entries with a
warning, so there always is a priority != 0 and the code therefore never
used.
apt-pkg/policy.cc
test/integration/test-bug-543966-downgrade-below-1000-pin