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

next in thread | previous in thread | raw e-mail | index | archive | help
>> 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.

Please file this in a PR so I won't lose
track.  I don't have time to investigate this
right now, but I should be able to get to it
sometime next week.

Tim



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