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: Ville Oikarinen
Subject: Re: [Bug-tar] tar doesn't handle some tarballs created under Microsoft Windows
Date: Wed, 16 May 2007 12:57:21 +0300 (EEST)

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.

After this interpretation it only needs to normalize all paths to use 
normal slashes to make extraction deterministic.

Of course, if all Windows ports won't implement this proposal, the 
extracting tar executable is in trouble. Is there any guarantee that the 
file won't contain mixed slashes and backslashes?

- Ville Oikarinen




reply via email to

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