Subject: bin/4199: Tar reads file input incorrectly
To: None <gnats-bugs@gnats.netbsd.org>
From: None <darcy@druid.net>
List: netbsd-bugs
Date: 10/01/1997 14:15:16
>Number: 4199
>Category: bin
>Synopsis: Tar reads file list incorrectly when file name contains backslashes
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Oct 1 11:20:01 1997
>Last-Modified:
>Originator: D'Arcy J.M. Cain
>Organization:
D'Arcy J.M. Cain <darcy@{druid|vex}.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 424 2871 (DoD#0082) (eNTP) | what's for dinner.
>Release: NetBSD-current 19970930
>Environment:
System: NetBSD druid.net 1.2G NetBSD 1.2G (DRUID) #1: Tue Sep 30 11:02:12 EDT 1997 darcy@druid.net:/usr/src/sys/arch/i386/compile/DRUID i386
>Description:
If you give the -T option to tar and one of the files in the
list has a backslash, the tar operation stops without an error.
>How-To-Repeat:
Create files called a, b, c:\test1\test2 and x run the command
"ls -cvf /tmp/t.tar -T -" and note that only the first two files
get into the archive.
>Fix:
>Audit-Trail:
>Unformatted: