From owner-cvs-all@FreeBSD.ORG Mon Sep 1 04:54:40 2008 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 B7F011065686; Mon, 1 Sep 2008 04:54:40 +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 A78EB8FC08; Mon, 1 Sep 2008 04:54:40 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.2/8.14.2) with ESMTP id m814seqD081058; Mon, 1 Sep 2008 04:54:40 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m814selE081057; Mon, 1 Sep 2008 04:54:40 GMT (envelope-from kientzle@repoman.freebsd.org) Message-Id: <200809010454.m814selE081057@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kientzle@repoman.freebsd.org using -f From: Tim Kientzle Date: Mon, 1 Sep 2008 04:54:29 +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_entry.c archive_entry.h archive_entry_private.h src/lib/libarchive/test test_entry.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, 01 Sep 2008 04:54:40 -0000 kientzle 2008-09-01 04:54:29 UTC FreeBSD src repository Modified files: lib/libarchive archive_entry.c archive_entry.h archive_entry_private.h lib/libarchive/test test_entry.c Log: SVN rev 182590 on 2008-09-01 04:54:29Z by kientzle MfP4: set/unset tracking for atime, ctime, mtime, and size fields. This generalizes the existing set/unset tracking for hardlink/symlink fields and extends it to cover non-string fields. Eventually, this will be further extended to cover most fields. In particular, this is needed to correctly detect when time fields are missing (for example, reading ustar archives doesn't set atime or ctime) for proper time restore and is helpful when trying to determine whether to overwrite data when restoring hardlinks. This commit updates the tests but not the docs. Revision Changes Path 1.53 +91 -24 src/lib/libarchive/archive_entry.c 1.28 +30 -2 src/lib/libarchive/archive_entry.h 1.5 +8 -2 src/lib/libarchive/archive_entry_private.h 1.7 +32 -1 src/lib/libarchive/test/test_entry.c