xbps-{bin,repo}: use static const tables to parse objs in XBPS_PKGPROPS files.

This commit is contained in:
Juan RP
2011-01-26 16:34:26 +01:00
parent ac6fe51340
commit bc259ae720
4 changed files with 170 additions and 104 deletions

View File

@ -266,8 +266,8 @@ show_pkg_info_from_repolist(const char *pkgname)
return errno;
}
free(url);
show_pkg_info_only_repo(pkgd);
show_pkg_info(pkg_propsd);
show_pkg_info(pkgd, true);
show_pkg_info(pkg_propsd, false);
prop_object_release(pkg_propsd);
prop_object_release(pkgd);