Date: Wed, 27 Feb 2008 21:07:43 GMT From: Jan Mikkelsen <janm-freebsd-pr@transactionware.com> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/121158: Tar regression from 6.2 to 6.3 with --strip-components Message-ID: <200802272107.m1RL7hJh067360@www.freebsd.org> Resent-Message-ID: <200802272120.m1RLK08o055782@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 121158 >Category: bin >Synopsis: Tar regression from 6.2 to 6.3 with --strip-components >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 27 21:20:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Jan Mikkelsen >Release: 6.3-RC2 >Organization: Transactionware >Environment: FreeBSD midgard.transactionware.com 6.3-RC2 FreeBSD 6.3-RC2 #0: Fri Jan 11 10:55:31 EST 2008 root@midgard.transactionware.com:/scratch/janm/p4/image-freebsd-std-2008.1/work/base-freebsd/scratch/janm/p4/image-freebsd-std-2008.1/FreeBSD/src/sys/TW-SMP amd64 >Description: 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. >How-To-Repeat: As above. >Fix: Not known at this stage. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802272107.m1RL7hJh067360>