From owner-cvs-all@FreeBSD.ORG Sun Jun 27 16:45:28 2004 Return-Path: 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 BDFC716A4CE; Sun, 27 Jun 2004 16:45:28 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B74C943D1D; Sun, 27 Jun 2004 16:45:28 +0000 (GMT) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i5RGipKL010588; Sun, 27 Jun 2004 16:44:51 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i5RGipgn010587; Sun, 27 Jun 2004 16:44:51 GMT (envelope-from kientzle) Message-Id: <200406271644.i5RGipgn010587@repoman.freebsd.org> From: Tim Kientzle Date: Sun, 27 Jun 2004 16:44:51 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libarchive archive_read_extract.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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: Sun, 27 Jun 2004 16:45:28 -0000 kientzle 2004-06-27 16:44:51 UTC FreeBSD src repository Modified files: lib/libarchive archive_read_extract.c Log: More tweaks to implicit directory creation. Even such abominations as a/././b/../b/../c/./../d/e/f now work correctly. And yes, a/b and a/c both get created in this example; if you want, you can create an entire dir heirarchy from a tar archive with only one entry. More tweaks to umask support: umasks are now obeyed for all objects, not just directories; the umask used is now the one in effect at the corresponding call to archive_read_extract(), so clients that want to tinker with umask during extract should get the expected behavior. Revision Changes Path 1.23 +27 -4 src/lib/libarchive/archive_read_extract.c