lib: drop libarchive compat macros and use non deprecated functions
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user