From owner-cvs-src-old@FreeBSD.ORG Fri Mar 6 04:50:49 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7E1F106564A for ; Fri, 6 Mar 2009 04:50:49 +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 C42938FC0C for ; Fri, 6 Mar 2009 04:50:49 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n264onWc038157 for ; Fri, 6 Mar 2009 04:50:49 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n264onxT038156 for cvs-src-old@freebsd.org; Fri, 6 Mar 2009 04:50:49 GMT (envelope-from kientzle@repoman.freebsd.org) Message-Id: <200903060450.n264onxT038156@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kientzle@repoman.freebsd.org using -f From: Tim Kientzle Date: Fri, 6 Mar 2009 04:50:39 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libarchive archive_read_support_format_zip.c archive_write_disk.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Mar 2009 04:50:50 -0000 kientzle 2009-03-06 04:50:39 UTC FreeBSD src repository Modified files: lib/libarchive archive_read_support_format_zip.c archive_write_disk.c Log: SVN rev 189430 on 2009-03-06 04:50:39Z by kientzle Merge r407,r508 from libarchive.googlecode.com: Correctly handle Zip entries that are zero length but stored with deflate. This is arguably a silly thing to do (deflating a zero-length file actually makes it bigger) but apparently quite a few Zip writers do this. This was broken in two places: archive_write_disk disliked being asked to write data to zero-length files (even if the write was zero-length) and zip_read_file_header tripped over itself when non-regular files had compressed bodies. Revision Changes Path 1.29 +41 -44 src/lib/libarchive/archive_read_support_format_zip.c 1.49 +3 -0 src/lib/libarchive/archive_write_disk.c