From owner-cvs-src@FreeBSD.ORG Fri Sep 5 06:13:55 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A68D106566C; Fri, 5 Sep 2008 06:13:55 +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 8922A8FC16; Fri, 5 Sep 2008 06:13:55 +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 m856DsnO076003; Fri, 5 Sep 2008 06:13:54 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m856DrAq075948; Fri, 5 Sep 2008 06:13:53 GMT (envelope-from kientzle@repoman.freebsd.org) Message-Id: <200809050613.m856DrAq075948@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kientzle@repoman.freebsd.org using -f From: Tim Kientzle Date: Fri, 5 Sep 2008 06:13:11 +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_write_disk.c src/lib/libarchive/test test_write_disk.c test_write_disk_hardlink.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: Fri, 05 Sep 2008 06:13:55 -0000 kientzle 2008-09-05 06:13:11 UTC FreeBSD src repository Modified files: lib/libarchive archive_write_disk.c lib/libarchive/test test_write_disk.c test_write_disk_hardlink.c Log: SVN rev 182779 on 2008-09-05 06:13:11Z by kientzle MfP4: Handle entries with unset size properly: Regular files with unspecified size are "unlimited" (required by Zip reader, which sometimes does not know the uncompressed size of an entry until it gets to the end). Also, hardlinks with unspecified (or zero) size do not overwrite the data on disk nor do they set metadata. This is compatible with GNU tar and NetBSD pax behavior. Revision Changes Path 1.35 +82 -44 src/lib/libarchive/archive_write_disk.c 1.14 +70 -1 src/lib/libarchive/test/test_write_disk.c 1.5 +72 -15 src/lib/libarchive/test/test_write_disk_hardlink.c