From nobody@FreeBSD.org  Thu Feb 14 12:38:56 2002
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 71C2737B478
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 14 Feb 2002 12:38:18 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g1EKcIJ97541;
	Thu, 14 Feb 2002 12:38:18 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200202142038.g1EKcIJ97541@freefall.freebsd.org>
Date: Thu, 14 Feb 2002 12:38:18 -0800 (PST)
From: Kevin Dorne <root@tentacle.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: tar quits silently creating archive containing a file with a backslash in the name
X-Send-Pr-Version: www-1.0

>Number:         34939
>Category:       gnu
>Synopsis:       tar quits silently creating archive containing a file with a backslash in the name
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 14 12:40:01 PST 2002
>Closed-Date:    Sun Mar 10 21:25:25 PST 2002
>Last-Modified:  Sun Mar 10 21:26:06 PST 2002
>Originator:     Kevin Dorne
>Release:        4.5-STABLE
>Organization:
Tentacle.net
>Environment:
FreeBSD chaos.tentacle.net 4.5-STABLE FreeBSD 4.5-STABLE #0: Wed Feb  6 12:12:52 PST 2002   root@chaos.tentacle.net:/usr/local/obj/usr/local/src/sys/CHAOS   i386
>Description:
I first encountered this problem using tar with the -T option.
If you create an archive including a file with a backslash, such as 'foo\' or 'f\oo', tar will silently stop creating the archive at that file, ignoring all following files.
>How-To-Repeat:
Create an archive with a file containing a backslash ('\').
Most apparent when using a file list (-T option):
create a file 'contents':
foo
bar
oof\
rab

% tar -cv -T contents -f archive.tar
foo
bar
>Fix:
Workaround: rename files, removing backslashes
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mikeh 
State-Changed-When: Sun Mar 10 21:25:25 PST 2002 
State-Changed-Why:  
Duplicate of bin/35087. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34939 
>Unformatted:
