Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2008 15:03:53 +0100
From:      Kris Kennaway <kris@FreeBSD.org>
To:        Jan Mikkelsen <janm@transactionware.com>
Cc:        Tim Kientzle <kientzle@FreeBSD.org>, "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   Re: Tar regression from 6.2 to 6.3 with --strip-components
Message-ID:  <47C56DC9.4020406@FreeBSD.org>
In-Reply-To: <000801c87942$098dceb0$0301a8c0@STUDYPC>
References:  <000801c87942$098dceb0$0301a8c0@STUDYPC>

next in thread | previous in thread | raw e-mail | index | archive | help
Jan Mikkelsen wrote:
> Hi,
> 
> I've just noticed a regression in tar from 6.2 to 6.3:
> 
> Running this on 6.2 produces no output:
> 
> #!/bin/sh
> mkdir -p a b output
> touch a/file1 b/file2
> tar cf test.tar a b
> tar -x -C output --strip-components 1 -f test.tar
> 
> On 6.3, it produces this output:
> 
> : Invalid empty pathname
> : Invalid empty pathname
> tar: Error exit delayed from previous errors.
> 
> And the tar extraction returns a failure.
> 
> Is this known?  Should I raise a PR?

Let's see what Tim has to say.

Kris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47C56DC9.4020406>