From owner-cvs-all@FreeBSD.ORG Mon Apr 2 04:21:24 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 123A116A401; Mon, 2 Apr 2007 04:21:24 +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 DF30B13C459; Mon, 2 Apr 2007 04:21:23 +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 l324LNRt014233; Mon, 2 Apr 2007 04:21:23 GMT (envelope-from cperciva@repoman.freebsd.org) Received: (from cperciva@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l324LNNI014228; Mon, 2 Apr 2007 04:21:23 GMT (envelope-from cperciva) Message-Id: <200704020421.l324LNNI014228@repoman.freebsd.org> From: Colin Percival Date: Mon, 2 Apr 2007 04:21:23 +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_support_format_tar.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Apr 2007 04:21:24 -0000 cperciva 2007-04-02 04:21:23 UTC FreeBSD src repository Modified files: lib/libarchive archive_read_support_format_tar.c Log: Now that there is always a compression-layer skip function available, skip over the end-of-entry padding instead of reading and discarding it. Considering that tar files normally have a block size of 10kB, this isn't likely to avoid reading any data, but at least it makes the code simpler and clearer. Revision Changes Path 1.51 +3 -9 src/lib/libarchive/archive_read_support_format_tar.c