lib: drop libarchive compat macros and use non deprecated functions

This commit is contained in:
Duncan Overbruck
2021-06-25 18:04:15 +02:00
parent fcbd7ef042
commit 2dc22401d5
5 changed files with 13 additions and 47 deletions

View File

@ -373,7 +373,7 @@ xbps_repo_close(struct xbps_repo *repo)
return;
if (repo->ar != NULL) {
archive_read_finish(repo->ar);
archive_read_free(repo->ar);
repo->ar = NULL;
}
if (repo->fd != -1) {