Use new ino64 interface.

This commit is contained in:
Tim Kientzle 2009-12-28 03:03:00 +00:00
parent 9adedf9679
commit 2b1f175936
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=201099

View File

@ -312,7 +312,6 @@ archive_write_open(struct archive *_a, void *client_data,
struct archive_write *a = (struct archive_write *)_a; struct archive_write *a = (struct archive_write *)_a;
int ret; int ret;
ret = ARCHIVE_OK;
__archive_check_magic(&a->archive, ARCHIVE_WRITE_MAGIC, __archive_check_magic(&a->archive, ARCHIVE_WRITE_MAGIC,
ARCHIVE_STATE_NEW, "archive_write_open"); ARCHIVE_STATE_NEW, "archive_write_open");
archive_clear_error(&a->archive); archive_clear_error(&a->archive);
@ -423,7 +422,7 @@ _archive_write_header(struct archive *_a, struct archive_entry *entry)
if (a->skip_file_dev != 0 && if (a->skip_file_dev != 0 &&
archive_entry_dev(entry) == a->skip_file_dev && archive_entry_dev(entry) == a->skip_file_dev &&
a->skip_file_ino != 0 && a->skip_file_ino != 0 &&
archive_entry_ino(entry) == a->skip_file_ino) { archive_entry_ino64(entry) == a->skip_file_ino) {
archive_set_error(&a->archive, 0, archive_set_error(&a->archive, 0,
"Can't add archive to itself"); "Can't add archive to itself");
return (ARCHIVE_FAILED); return (ARCHIVE_FAILED);