lib: drop libarchive compat macros and use non deprecated functions
This commit is contained in:
@ -732,8 +732,8 @@ collect_binpkg_files(struct xbps_handle *xhp, xbps_dictionary_t pkg_repod,
|
||||
out:
|
||||
if (pkg_fd != -1)
|
||||
close(pkg_fd);
|
||||
if (ar)
|
||||
archive_read_finish(ar);
|
||||
if (ar != NULL)
|
||||
archive_read_free(ar);
|
||||
free(bpkg);
|
||||
return rv;
|
||||
}
|
||||
|
Reference in New Issue
Block a user