From owner-freebsd-stable@FreeBSD.ORG Wed Feb 27 14:03:55 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 8D9B21065672; Wed, 27 Feb 2008 14:03:55 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A50AA8FC17; Wed, 27 Feb 2008 14:03:54 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <47C56DC9.4020406@FreeBSD.org> Date: Wed, 27 Feb 2008 15:03:53 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Jan Mikkelsen References: <000801c87942$098dceb0$0301a8c0@STUDYPC> In-Reply-To: <000801c87942$098dceb0$0301a8c0@STUDYPC> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Tim Kientzle , "freebsd-stable@freebsd.org" Subject: Re: Tar regression from 6.2 to 6.3 with --strip-components 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: Wed, 27 Feb 2008 14:03:55 -0000 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