From owner-cvs-all@FreeBSD.ORG Mon Jun 7 06:35:02 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 5E1E316A4CE; Mon, 7 Jun 2004 06:35:02 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 589DA43D31; Mon, 7 Jun 2004 06:35:02 +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 i576Ypn4010262; Mon, 7 Jun 2004 06:34:51 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i576YpDU010261; Mon, 7 Jun 2004 06:34:51 GMT (envelope-from kientzle) Message-Id: <200406070634.i576YpDU010261@repoman.freebsd.org> From: Tim Kientzle Date: Mon, 7 Jun 2004 06:34: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_support_format_tar.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: Mon, 07 Jun 2004 06:35:02 -0000 kientzle 2004-06-07 06:34:51 UTC FreeBSD src repository Modified files: lib/libarchive archive_read_support_format_tar.c Log: History: A few very, very old tar programs used the filename to distinguish files from dirs (trailing '/' indicated a dir). Since POSIX.1-1987, this convention is no longer necessary. However, there are current tar programs that pretend to write POSIX-compliant archives, yet store directories as "regular files", relying on this old filename convention to save them. So, move the check for this old convention so it applies to all tar archives, not just those identified as "old." Pointed out by: Broken distfile for audio/faad port Revision Changes Path 1.19 +10 -12 src/lib/libarchive/archive_read_support_format_tar.c