From owner-cvs-all@FreeBSD.ORG Thu Oct 18 05:16:51 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17B6316A418; Thu, 18 Oct 2007 05:16:51 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id DFF9413C467; Thu, 18 Oct 2007 05:16:50 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9I5GoO2006468; Thu, 18 Oct 2007 05:16:50 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9I5Go41006467; Thu, 18 Oct 2007 05:16:50 GMT (envelope-from kientzle) Message-Id: <200710180516.l9I5Go41006467@repoman.freebsd.org> From: Tim Kientzle Date: Thu, 18 Oct 2007 05:16:50 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/lib/libarchive archive_read_support_format_zip.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: Thu, 18 Oct 2007 05:16:51 -0000 kientzle 2007-10-18 05:16:50 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libarchive archive_read_support_format_zip.c Log: MFC 1.15: When reading ZIP archives, non-regular files should return EOF immediately on any attempts to read their data. (Previously, it would return a zero-length block, then EOF, which elicited bogus warnings from bsdtar.) Also, correct the EOF return to correctly identify EOF as part of an empty block at the correct offset. Approved by: re (Ken Smith) Revision Changes Path 1.14.2.1 +7 -0 src/lib/libarchive/archive_read_support_format_zip.c