Date: Wed, 2 Jun 2004 01:14:44 -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 archive.h archive_private.h archive_read.3 archive_read.c archive_read_data_into_fd.c archive_read_support_format_tar.c Message-ID: <200406020814.i528EiYi080776@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kientzle 2004/06/02 01:14:44 PDT FreeBSD src repository Modified files: lib/libarchive archive.h archive_private.h archive_read.3 archive_read.c archive_read_data_into_fd.c archive_read_support_format_cpio.c archive_read_support_format_tar.c Log: Refactor read_data: * New read_data_block is both sparse-file aware and uses zero-copy semantics * Push read_data_block down into specific formats (opens door to various encoded entry bodies, such as zip or gtar -S) * Reimplement read_data, read_data_skip, read_data_into_fd in terms of new read_data_block. * Update documentation It's unfortunate that I couldn't just call the new interface archive_read_data, but didn't want to upset the API that much. Revision Changes Path 1.11 +8 -0 src/lib/libarchive/archive.h 1.11 +10 -8 src/lib/libarchive/archive_private.h 1.6 +21 -6 src/lib/libarchive/archive_read.3 1.7 +84 -50 src/lib/libarchive/archive_read.c 1.6 +34 -21 src/lib/libarchive/archive_read_data_into_fd.c 1.10 +72 -28 src/lib/libarchive/archive_read_support_format_cpio.c 1.15 +63 -18 src/lib/libarchive/archive_read_support_format_tar.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406020814.i528EiYi080776>