diff options
author | kientzle <kientzle@FreeBSD.org> | 2007-06-22 05:47:00 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2007-06-22 05:47:00 +0000 |
commit | 7d9385b48dab3bfe96b61346b68d065684325a93 (patch) | |
tree | 2cdcedd3810cee0ec441278b6ef874bef3fc3466 /lib/libarchive/archive_write_set_format.c | |
parent | be1b3aeb35cc2d25fe15301c61533f8663d2bbce (diff) | |
download | FreeBSD-src-7d9385b48dab3bfe96b61346b68d065684325a93.zip FreeBSD-src-7d9385b48dab3bfe96b61346b68d065684325a93.tar.gz |
Support for writing the 'newc' cpio format, plus a minimal test harness
for the cpio formats.
Thanks to: Rudolf Marek
Approved by: re@
Diffstat (limited to 'lib/libarchive/archive_write_set_format.c')
-rw-r--r-- | lib/libarchive/archive_write_set_format.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libarchive/archive_write_set_format.c b/lib/libarchive/archive_write_set_format.c index ba36e5d..5b879bd 100644 --- a/lib/libarchive/archive_write_set_format.c +++ b/lib/libarchive/archive_write_set_format.c @@ -42,6 +42,7 @@ static struct { int code; int (*setter)(struct archive *); } codes[] = { { ARCHIVE_FORMAT_CPIO, archive_write_set_format_cpio }, + { ARCHIVE_FORMAT_CPIO_SVR4_NOCRC, archive_write_set_format_cpio_newc }, { ARCHIVE_FORMAT_CPIO_POSIX, archive_write_set_format_cpio }, { ARCHIVE_FORMAT_SHAR, archive_write_set_format_shar }, { ARCHIVE_FORMAT_SHAR_BASE, archive_write_set_format_shar }, |