Gratuitous ABI break: xbps_binpkg_get_xxx() -> xbps_archive_fetch_xxx().

This commit is contained in:
Juan RP
2014-11-21 09:51:57 +01:00
parent 7e6b38f951
commit 1789e527a9
7 changed files with 16 additions and 16 deletions

View File

@ -136,7 +136,7 @@ repo_match_cb(struct xbps_handle *xhp,
bfile = xbps_repository_pkg_path(xhp, obj);
assert(bfile);
filesd = xbps_binpkg_get_plist(bfile, "/files.plist");
filesd = xbps_archive_fetch_plist(bfile, "/files.plist");
if (filesd == NULL) {
xbps_dbg_printf(xhp, "%s: couldn't fetch files.plist from %s: %s\n",
pkgver, bfile, strerror(errno));

View File

@ -323,7 +323,7 @@ repo_cat_file(struct xbps_handle *xhp, const char *pkg, const char *file)
return EINVAL;
xbps_dbg_printf(xhp, "matched pkg at %s\n", url);
rv = xbps_binpkg_get_file_into_fd(url, file, STDOUT_FILENO);
rv = xbps_archive_fetch_file_into_fd(url, file, STDOUT_FILENO);
free(url);
return rv;
}