From owner-freebsd-stable@FreeBSD.ORG Fri Jan 11 00:06:37 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0E6516A41A for ; Fri, 11 Jan 2008 00:06:37 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: from mail5out.barnet.com.au (mail5.barnet.com.au [202.83.178.78]) by mx1.freebsd.org (Postfix) with ESMTP id ACD6F13C455 for ; Fri, 11 Jan 2008 00:06:37 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: by mail5out.barnet.com.au (Postfix, from userid 1001) id 635242218BBD; Fri, 11 Jan 2008 11:06:36 +1100 (EST) X-Viruscan-Id: <4786B30C00006B7DDA281C@BarNet> Received: from mail5auth.barnet.com.au (mail5.barnet.com.au [202.83.178.78]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail5auth.barnet.com.au", Issuer "*.barnet.com.au" (verified OK)) by mail5.barnet.com.au (Postfix) with ESMTP id 2600721B1998; Fri, 11 Jan 2008 11:06:36 +1100 (EST) Received: from k7.mavetju (k7.mavetju.org [10.251.1.18]) by mail5auth.barnet.com.au (Postfix) with ESMTP id D24B22218BA0; Fri, 11 Jan 2008 11:06:35 +1100 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id 51C9FB7; Fri, 11 Jan 2008 11:06:35 +1100 (EST) Date: Fri, 11 Jan 2008 11:06:35 +1100 From: Edwin Groothuis To: Steven Hartland Message-ID: <20080111000635.GB37323@k7.mavetju> Mail-Followup-To: Edwin Groothuis , Steven Hartland , Chuck Swiger , freebsd-stable@freebsd.org References: <004901c853dc$54acf230$b6db87d4@multiplay.co.uk> <1EBB2F6E-DE1F-4EDE-885F-F8CEB60E6F6A@mac.com> <00a801c853e4$5589eb10$b6db87d4@multiplay.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00a801c853e4$5589eb10$b6db87d4@multiplay.co.uk> User-Agent: Mutt/1.4.2.3i Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD tar errors on valid empty tar.gz X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jan 2008 00:06:37 -0000 On Thu, Jan 10, 2008 at 11:55:52PM -0000, Steven Hartland wrote: > A totally empty file is not valid try the following test:- > >touch empty > >tar cvzf test.tar.gz --files-from empty > >tar tvzf test.tar.gz > >tar: Unrecognized archive format: Inappropriate file type or format > >tar --version > >bsdtar 1.2.53 - libarchive 1.2.53 > >gtar tvzf test.tar.gz > >gtar --version > >tar (GNU tar) 1.15.1 > > Tested on: FreeBSD 6.2-RELEASE-p9 Please send-pr this so tkientzle@ can take action on it. Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://www.mavetju.org/weblog/