Date: Fri, 19 Mar 2004 14:37:07 -0800 (PST) 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.h archive_entry.3 archive_entry.c archive_entry.h archive_platform.h archive_private.h archive_read.c archive_read_data_into_fd.c archive_read_support_format_cpio.c archive_read_support_format_gnutar.c ... Message-ID: <200403192237.i2JMb7O3096581@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kientzle 2004/03/19 14:37:06 PST FreeBSD src repository Modified files: lib/libarchive Makefile archive.h archive_entry.3 archive_entry.c archive_entry.h archive_platform.h archive_private.h archive_read.c archive_read_data_into_fd.c archive_read_support_compression_gzip.c archive_read_support_format_cpio.c archive_read_support_format_gnutar.c archive_read_support_format_tar.c archive_string.c archive_string.h archive_write.c archive_write_open_file.c archive_write_set_format_pax.c libarchive.3 tar.5 Log: Many fixes: * Disabled shared-library building, as some API breakage is still likely. (I didn't realize it was turned on by default.) If you have an existing /usr/lib/libarchive.so.2, I recommend deleting it. * Pax interchange format now correctly stores and reads UTF8 for extended attributes. In particular, pax format can portably handle arbitrarily long pathnames containing arbitrary characters. * Library compiles cleanly at -O2, -O3, and WARNS=6 on all FreeBSD-CURRENT platforms. * Minor portability improvements inspired by Juergen Lock and Greg Lewis. (Less reliance on stdint.h, isolating of various portability-challenged constructs.) * archive_entry transparently converts multi-byte <-> wide character strings, allowing clients and format handlers to deal with either one, as appropriate. * Support for reading 'L' and 'K' entries in standard tar archives for star compatibility. * Recognize (but don't yet handle) ACL entries from Solaris tar. * Pushed format-specific data for format readers down into format-specific storage and out of library-global storage. This should make it easier to maintain individual formats without mucking with the core library management. * Documentation updates to track the above changes. * Updates to tar.5 to correct a few mistakes and add some additional information about GNU tar and Solaris tar formats. Notes: * The basic 'tar' reader is getting more general; there's not much point in keeping the 'gnutar' reader separate. Merging the two would lose a bunch of duplicate code. * The libc ACL support is looking increasingly inadequate for my needs here. I might need to assemble some fairly significant code for parsing and building ACLs. <sigh> Revision Changes Path 1.4 +9 -3 src/lib/libarchive/Makefile 1.5 +2 -3 src/lib/libarchive/archive.h 1.2 +70 -63 src/lib/libarchive/archive_entry.3 1.3 +254 -113 src/lib/libarchive/archive_entry.c 1.2 +11 -5 src/lib/libarchive/archive_entry.h 1.2 +26 -1 src/lib/libarchive/archive_platform.h 1.3 +8 -34 src/lib/libarchive/archive_private.h 1.3 +9 -16 src/lib/libarchive/archive_read.c 1.3 +1 -1 src/lib/libarchive/archive_read_data_into_fd.c 1.3 +2 -1 src/lib/libarchive/archive_read_support_compression_gzip.c 1.5 +9 -6 src/lib/libarchive/archive_read_support_format_cpio.c 1.3 +85 -27 src/lib/libarchive/archive_read_support_format_gnutar.c 1.4 +464 -204 src/lib/libarchive/archive_read_support_format_tar.c 1.3 +0 -47 src/lib/libarchive/archive_string.c 1.2 +4 -3 src/lib/libarchive/archive_string.h 1.3 +0 -13 src/lib/libarchive/archive_write.c 1.3 +1 -1 src/lib/libarchive/archive_write_open_file.c 1.4 +91 -9 src/lib/libarchive/archive_write_set_format_pax.c 1.2 +22 -25 src/lib/libarchive/libarchive.3 1.2 +93 -59 src/lib/libarchive/tar.5
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403192237.i2JMb7O3096581>