Date: Sat, 31 Mar 2007 22:59:43 +0000 (UTC) From: Colin Percival <cperciva@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libarchive archive_read.c archive_read_support_format_iso9660.c archive_read_support_format_tar.c Message-ID: <200703312259.l2VMxh3e000409@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
cperciva 2007-03-31 22:59:43 UTC FreeBSD src repository Modified files: lib/libarchive archive_read.c archive_read_support_format_iso9660.c archive_read_support_format_tar.c Log: Provide a dummy compression-layer skip function which just reads data and discards it, for use when the compression layer code doesn't know how to skip data (e.g., everything other than the "none" compressor). This makes format level code simpler because that code can now assume that the compression layer always knows how to skip and will always skip exactly the requested number of bytes. Discussed with: kientzle (3 months ago) Revision Changes Path 1.31 +40 -0 src/lib/libarchive/archive_read.c 1.21 +4 -24 src/lib/libarchive/archive_read_support_format_iso9660.c 1.50 +0 -10 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?200703312259.l2VMxh3e000409>