From owner-cvs-src@FreeBSD.ORG Sat Mar 31 22:59:44 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 12B2116A405; Sat, 31 Mar 2007 22:59:44 +0000 (UTC) (envelope-from cperciva@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 03DDB13C44C; Sat, 31 Mar 2007 22:59:44 +0000 (UTC) (envelope-from cperciva@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l2VMxh7H000410; Sat, 31 Mar 2007 22:59:43 GMT (envelope-from cperciva@repoman.freebsd.org) Received: (from cperciva@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l2VMxh3e000409; Sat, 31 Mar 2007 22:59:43 GMT (envelope-from cperciva) Message-Id: <200703312259.l2VMxh3e000409@repoman.freebsd.org> From: Colin Percival Date: Sat, 31 Mar 2007 22:59:43 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libarchive archive_read.c archive_read_support_format_iso9660.c archive_read_support_format_tar.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Mar 2007 22:59:44 -0000 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