From owner-freebsd-bugs Sat Oct 14 23: 0: 5 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 912FC37B66E for ; Sat, 14 Oct 2000 23:00:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id XAA80158; Sat, 14 Oct 2000 23:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id CFDBB37B503; Sat, 14 Oct 2000 22:52:03 -0700 (PDT) Message-Id: <20001015055203.CFDBB37B503@hub.freebsd.org> Date: Sat, 14 Oct 2000 22:52:03 -0700 (PDT) From: mcl@mtl.pl To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: gnu/21996: use of -s and -C causes tar to dump core Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 21996 >Category: gnu >Synopsis: use of -s and -C causes tar to dump core >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Oct 14 23:00:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Michal Listos >Release: -STABLE, -CURRENT >Organization: pwn.pl >Environment: FreeBSD zyguzygu.wroc.vm.pl 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Mon Oct 9 19:21 :58 CEST 2000 root@zyguzygu.wroc.vm.pl:/usr/src/sys/compile/foo i386 >Description: use of --same-order with -C causes tar to dump core >How-To-Repeat: tar -C /some/dir -spxf somefile.tar >Fix: --- /usr/src/gnu/usr.bin/tar/tar.c Wed Jul 5 12:31:16 2000 +++ tar.c Sun Oct 15 07:50:56 2000 @@ -1030,7 +1030,6 @@ { p = name_next (0); chdir_name = p ? strdup(p) : p; - p = name_next (0); if (!chdir_name) { msg ("Missing file name after -C"); >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message