assertEqualString(n[i],archive_entry_pathname(ae)); }/* Verify the end-of-archive. */assertEqualIntA(a, ARCHIVE_EOF, archive_read_next_header(a, &ae));/* Verify that the format detection worked. */assertEqualInt(archive_compression(a), ARCHIVE_COMPRESSION_BZIP2); assertEqualString(archiv...
archive_entry_copy_pathname_w(ae,L"first"); failure("'first' should not be excluded"); assertEqualInt(0, archive_match_path_excluded(m, ae)); assertEqualInt(0, archive_match_excluded(m, ae));/* Test with 'second', which should be excluded. */archive_entry_copy_pathname(ae,"second...
archive_strncpy(&cpio->entry_name, (constchar*)h, namelength);archive_entry_set_pathname(entry, cpio->entry_name.s); cpio->entry_offset =0;/* If this is a symlink, read the link contents. */if(archive_entry_filetype(entry) == AE_IFLNK) { bytes = (a->decompressor->read_ahead)(...