Moved install transaction code to libxbps, see NEWS file.

This commit is contained in:
Juan RP
2011-07-27 17:13:54 +02:00
parent ce0b21a062
commit 508f119bc9
35 changed files with 1146 additions and 735 deletions

View File

@ -56,7 +56,7 @@ static bool repolist_initialized;
int HIDDEN
xbps_repository_pool_init(void)
{
const struct xbps_handle *xhp;
struct xbps_handle *xhp;
prop_array_t array;
prop_object_t obj;
prop_object_iterator_t iter = NULL;
@ -258,7 +258,7 @@ xbps_repository_pool_foreach(
xbps_dbg_printf("%s: couldn't initialize "
"repository pool: %s\n", __func__, strerror(rv));
}
xbps_end();
xbps_end(xbps_handle_get());
return rv;
}