Juan RP
4164573b35
Added xbps_match_pkgdep_in_array() to match a pkgdep against pkgpatterns.
...
This fixes xbps_match_pkgpattern_in_array() which had the args swapped
in xbps_pkgpattern_match() resulting in inverted results while resolving
virtual packages in a transaction.
2012-01-16 15:50:06 +01:00
Juan RP
bae664c639
xbps_match_pkgpattern_in_array: fix swapped args resulting in non matches.
2011-12-29 16:35:56 +01:00
Juan RP
9034df9bc2
libxbps: added xbps_match_any_virtualpkg_in_rundeps(array rundeps, array provides).
...
Matches any pkgdep from provides array in the rundeps array with
pkgpatterns. True on match, false otherwise.
2011-10-27 18:48:59 +02:00
Juan RP
9fb3c38aa2
Extend assertions by checking passed in proplib type.
2011-10-19 16:53:38 +02:00
Juan RP
468366b1b2
libxbps: move match funcs from plist_find.c into its own file.
2011-07-19 21:07:04 +02:00