bin/xbps-rindex: drop libarchive compat macros
Closes: #411 [via git-merge-pr]
This commit is contained in:
@ -638,7 +638,7 @@ write_entry(struct archive *ar, struct archive_entry *entry)
|
||||
if ((target = archive_entry_pathname(entry)) == NULL)
|
||||
return;
|
||||
|
||||
if (archive_write_header(ar, entry))
|
||||
if (archive_write_header(ar, entry) != ARCHIVE_OK)
|
||||
die_archive(ar, "cannot write %s to archive:", target);
|
||||
|
||||
/* Only regular files can have data. */
|
||||
|
Reference in New Issue
Block a user