diff options
author | morganamilo <morganamilo@gmail.com> | 2019-09-08 23:45:28 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2019-10-07 06:21:08 +0200 |
commit | f2442bc2e9d41a68b9965c272794600836c36b8b (patch) | |
tree | 50374b0f389159a5a2bcef25bb7858e5c9045e53 /lib/libalpm/graph.h | |
parent | 0a295f3f396b990e03ab8faec37566de85c99fec (diff) | |
download | pacman-f2442bc2e9d41a68b9965c272794600836c36b8b.tar.gz pacman-f2442bc2e9d41a68b9965c272794600836c36b8b.tar.xz |
libalpm: short circuit alpm_find_dbs_satisfier
when a satisfying package is already installed, we always pick it
instead of prompting the user. So we can return that package as soon as
we find it, instead of waiting until we've iterated through all the
databases.
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/graph.h')
0 files changed, 0 insertions, 0 deletions