Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Oct 2000 22:52:03 -0700 (PDT)
From:      mcl@mtl.pl
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   gnu/21996: use of -s and -C causes tar to dump core
Message-ID:  <20001015055203.CFDBB37B503@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




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