Gratuitous ABI break: xbps_binpkg_get_xxx() -> xbps_archive_fetch_xxx().
This commit is contained in:
@ -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));
|
||||
|
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user