From owner-cvs-all@FreeBSD.ORG Wed Aug 27 04:36:18 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 762D0106566B; Wed, 27 Aug 2008 04:36:18 +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 73B7C8FC12; Wed, 27 Aug 2008 04:36:16 +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 m7R4aGXl079854; Wed, 27 Aug 2008 04:36:16 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m7R4aGhE079853; Wed, 27 Aug 2008 04:36:16 GMT (envelope-from kientzle@repoman.freebsd.org) Message-Id: <200808270436.m7R4aGhE079853@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kientzle@repoman.freebsd.org using -f From: Tim Kientzle Date: Wed, 27 Aug 2008 04:36:07 +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_write_disk.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: Wed, 27 Aug 2008 04:36:18 -0000 kientzle 2008-08-27 04:36:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libarchive archive_write_disk.c Log: SVN rev 182228 on 2008-08-27 04:36:07Z by kientzle MFC r182093: Ignore NO_OVERWRITE_NEWER if the current object is a directory. Before this, the often-recommended incantation find -d . | cpio -p fails to properly carry through dir metadata because each file copy implicitly creates the parent dir, which cpio subsequently refuses to overwrite. With this patch, the incantation works with or without the -d option to find because without it, there is no implicit dir creation, and with it, the subsequent dir restore will update the metadata on the dir. Revision Changes Path 1.17.2.5 +5 -1 src/lib/libarchive/archive_write_disk.c