]> git.saurik.com Git - apt.git/commit - test/integration/test-external-dependency-solver-protocol
edsp: use an ID mapping for the internal solver
authorDavid Kalnischkies <david@kalnischkies.de>
Sat, 4 Jun 2016 16:45:01 +0000 (18:45 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Sat, 4 Jun 2016 16:45:01 +0000 (18:45 +0200)
commit307d9eb2d13ee59191b86ffec2f36ba3fffc5c20
tree33c362f9f5326fce81ccf8bce3ad30950629ad68
parent0cfec3ab589c6309bf284438d2148c7742cdaf10
edsp: use an ID mapping for the internal solver

Currently an EDSP solver gets send basically all versions which means
the absolute count is the same, but that might not be true forever (and
with the skipping of rc-only versions it kinda is already) and even if
it were true, segfaulting on bad input seems wrong.
apt-pkg/edsp.cc
apt-pkg/edsp/edsplistparser.cc
apt-pkg/pkgsystem.cc
apt-pkg/pkgsystem.h
test/integration/test-external-dependency-solver-protocol