diff options
author | mm <mm@FreeBSD.org> | 2011-07-17 21:27:38 +0000 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2011-07-17 21:27:38 +0000 |
commit | af1b78954b9a91ab8b481f90c8b8c3522f6ea0fa (patch) | |
tree | 56f3cd4886fe6a4096374e4acc635884f68227ee /lib/libarchive/test/test_pax_filename_encoding.c | |
parent | 352be4e985c0df0cf92cf64d89515b0b32bd1bf4 (diff) | |
download | FreeBSD-src-af1b78954b9a91ab8b481f90c8b8c3522f6ea0fa.zip FreeBSD-src-af1b78954b9a91ab8b481f90c8b8c3522f6ea0fa.tar.gz |
- Update libarchive to 2.8.4
- Add support for extracting xar and rpm archives
- Add libarchive_fe subdir (common code for tar and cpio)
Approved by: kientzle
MFC after: 2 weeks
Diffstat (limited to 'lib/libarchive/test/test_pax_filename_encoding.c')
-rw-r--r-- | lib/libarchive/test/test_pax_filename_encoding.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libarchive/test/test_pax_filename_encoding.c b/lib/libarchive/test/test_pax_filename_encoding.c index 5affe9f..af0208c 100644 --- a/lib/libarchive/test/test_pax_filename_encoding.c +++ b/lib/libarchive/test/test_pax_filename_encoding.c @@ -225,9 +225,11 @@ test_pax_filename_encoding_3(void) * setlocale() does not set the default encoding for CP_ACP. */ entry = archive_entry_new(); if (archive_entry_update_pathname_utf8(entry, badname_utf8)) { + archive_entry_free(entry); skipping("Cannot test conversion failures."); return; } + archive_entry_free(entry); assert((a = archive_write_new()) != NULL); assertEqualIntA(a, 0, archive_write_set_format_pax(a)); |