From owner-cvs-all@FreeBSD.ORG Wed Oct 4 02:08:04 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E07FC16A417; Wed, 4 Oct 2006 02:08:04 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B42143D46; Wed, 4 Oct 2006 02:08:04 +0000 (GMT) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k942848d076664; Wed, 4 Oct 2006 02:08:04 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k94284Om076663; Wed, 4 Oct 2006 02:08:04 GMT (envelope-from kientzle) Message-Id: <200610040208.k94284Om076663@repoman.freebsd.org> From: Tim Kientzle Date: Wed, 4 Oct 2006 02:08:04 +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_read_extract.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, 04 Oct 2006 02:08:05 -0000 kientzle 2006-10-04 02:08:04 UTC FreeBSD src repository Modified files: lib/libarchive archive_read_extract.c Log: Performance: If the dir mode requested is "reasonable", then just restore it directly and skip chmod() during the post-extract fixup. In particular, bsdtar -xm now completely skips the post-extract fixup for directories, which produces a noticable speedup in that case. Revision Changes Path 1.48 +89 -49 src/lib/libarchive/archive_read_extract.c