New _alpm_find_dep_satisfier function
commit616b5967b8581d51f9e08dd4178c921eee617d4b
authorNagy Gabor <ngaba@bibl.u-szeged.hu>
Fri, 4 Jul 2008 13:39:26 +0000 (4 15:39 +0200)
committerDan McGee <dan@archlinux.org>
Tue, 8 Jul 2008 02:04:37 +0000 (7 21:04 -0500)
tree5c8fc3a02831f49353f076a3acd2fb365e6bba9a
parentf7199f36ba5a2b42da51cd227855caaa43c51d58
New _alpm_find_dep_satisfier function

This function finds the first satisfier package in a pkglist. Using it
instead of _alpm_find_dep_satisfiers eliminates some memleaks and it is
faster. (_alpm_find_dep_satisfiers and _alpm_find_pkg_satisfiers will be
removed soon.)

Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu>
Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/deps.c
lib/libalpm/deps.h