bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] tar doesn't handle some tarballs created under Microsoft W


From: Joerg Schilling
Subject: Re: [Bug-tar] tar doesn't handle some tarballs created under Microsoft Windows
Date: Wed, 16 May 2007 12:26:11 +0200
User-agent: nail 11.22 3/20/05

Ville Oikarinen <address@hidden> wrote:

> Is it really necessary to support backslashes in the file format?
>
> The executable that creates the tar archive knows whether the backslash is 
> to be interpreted as a separator or as a filename character. Otherwise it 
> wouldn't be able to add the right files in the archive.

The archive is a result of a missusage. Tar implementations internlly only
use '/' and take the starting path as given. If you give it a string that
contains a '\' which is a valid file name in the standard, it just passes
this name to the archive.

Jörg

-- 
 EMail:address@hidden (home) Jörg Schilling D-13353 Berlin
       address@hidden                (uni)  
       address@hidden     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily




reply via email to

[Prev in Thread] Current Thread [Next in Thread]