From owner-freebsd-stable@FreeBSD.ORG Fri Jan 11 00:16:42 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 B9C6F16A468 for ; Fri, 11 Jan 2008 00:16:42 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr13.xs4all.nl (smtp-vbr13.xs4all.nl [194.109.24.33]) by mx1.freebsd.org (Postfix) with ESMTP id 7030213C467 for ; Fri, 11 Jan 2008 00:16:42 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr13.xs4all.nl (8.13.8/8.13.8) with ESMTP id m0B0GeZ7008988; Fri, 11 Jan 2008 01:16:40 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 119BCB8FC; Fri, 11 Jan 2008 01:16:40 +0100 (CET) Date: Fri, 11 Jan 2008 01:16:40 +0100 From: Roland Smith To: Steven Hartland Message-ID: <20080111001640.GA59072@slackbox.xs4all.nl> Mail-Followup-To: 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: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YZ5djTAD1cGYuMQK" Content-Disposition: inline In-Reply-To: <00a801c853e4$5589eb10$b6db87d4@multiplay.co.uk> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: by XS4ALL Virus Scanner 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:16:42 -0000 --YZ5djTAD1cGYuMQK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 fil= e=20 >> 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 >=20 > Tested on: FreeBSD 6.2-RELEASE-p9 No problem on 7.0-BETA3 (amd64); touch empty tar cvzf test.tar.gz --files-from empty tar tvzf test.tar.gz tar --version bsdtar 2.2.5 - libarchive 2.2.4 ls -l empty test.tar.gz=20 -rw-r--r-- 1 rsmith rsmith 0 Jan 11 01:14 empty -rw-r--r-- 1 rsmith rsmith 45 Jan 11 01:14 test.tar.gz Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --YZ5djTAD1cGYuMQK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHhrVoEnfvsMMhpyURAsJDAJ9FU4jKy4TSrIgjo/CEP91/ul2vWwCdHOlJ BG1XNtpXKEGmNc/rJ+5p2dc= =Fgdx -----END PGP SIGNATURE----- --YZ5djTAD1cGYuMQK--