diff options
author | kientzle <kientzle@FreeBSD.org> | 2004-07-25 23:10:38 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2004-07-25 23:10:38 +0000 |
commit | 9e6524695bfd0a26b8a1f0dbf1be78ac52dff7b5 (patch) | |
tree | ea914271748531436a9df05bd90d1adfaffcbb74 /lib/libarchive/archive_write_set_format_by_name.c | |
parent | d360d6d42fa54bc605cba0bffb8e1ff8d6f191f7 (diff) | |
download | FreeBSD-src-9e6524695bfd0a26b8a1f0dbf1be78ac52dff7b5.zip FreeBSD-src-9e6524695bfd0a26b8a1f0dbf1be78ac52dff7b5.tar.gz |
Allow "posix" as a synonym for "pax". (The gtar folks chose "posix",
which is really, really dumb and just going to cause confusion among
people who understand that "ustar" is also a POSIX standard tar format.)
Diffstat (limited to 'lib/libarchive/archive_write_set_format_by_name.c')
-rw-r--r-- | lib/libarchive/archive_write_set_format_by_name.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libarchive/archive_write_set_format_by_name.c b/lib/libarchive/archive_write_set_format_by_name.c index b67dab5..2402e1c 100644 --- a/lib/libarchive/archive_write_set_format_by_name.c +++ b/lib/libarchive/archive_write_set_format_by_name.c @@ -41,6 +41,7 @@ struct { const char *name; int (*setter)(struct archive *); } names[] = { { "cpio", archive_write_set_format_cpio }, { "pax", archive_write_set_format_pax }, + { "posix", archive_write_set_format_pax }, { "shar", archive_write_set_format_shar }, { "shardump", archive_write_set_format_shar_dump }, { "ustar", archive_write_set_format_ustar }, |