Date: Mon, 26 Apr 2004 16:37:54 -0700 (PDT) From: Tim Kientzle <kientzle@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libarchive Makefile archive_entry.3 archive_entry.c archive_entry.h archive_read_extract.c archive_write_set_format_shar.c Message-ID: <200404262337.i3QNbsqt046013@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kientzle 2004/04/26 16:37:54 PDT FreeBSD src repository Modified files: lib/libarchive Makefile archive_entry.3 archive_entry.c archive_entry.h archive_read_extract.c archive_read_support_format_tar.c archive_write_set_format_pax.c archive_write_set_format_shar.c Log: Update file flag handling. The new fflags support in archive_entry supports Linux and FreeBSD file flags and is a bit more gracious about unrecognized flag names than strtofflags(3). This involves some minor API breakage. The default tar format ("restricted pax") now enables pax extensions when archiving files that have flags. In particular, copying dir heirarchies with 'bsdtar cf - -C src . | bsdtar xpf - -C dest' now preserves file flags. (Note the "p" on extract!) While I'm here, fill in some additional explanation in the archive_entry.3 manpage, fill in some missing MLINKS, mark some overlooked internal functions 'static', and make a few minor style fixes. Revision Changes Path 1.7 +13 -1 src/lib/libarchive/Makefile 1.4 +100 -28 src/lib/libarchive/archive_entry.3 1.10 +298 -29 src/lib/libarchive/archive_entry.c 1.7 +10 -4 src/lib/libarchive/archive_entry.h 1.9 +63 -16 src/lib/libarchive/archive_read_extract.c 1.11 +1 -1 src/lib/libarchive/archive_read_support_format_tar.c 1.11 +7 -1 src/lib/libarchive/archive_write_set_format_pax.c 1.8 +1 -1 src/lib/libarchive/archive_write_set_format_shar.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404262337.i3QNbsqt046013>