commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COMPRESS-17) TAR formaT unspecified
Date Tue, 31 Mar 2009 20:44:50 GMT

    [ https://issues.apache.org/jira/browse/COMPRESS-17?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12694261#action_12694261
] 

Sebb commented on COMPRESS-17:
------------------------------

The code appears to set the "magic" string for Posix Tar, but the formatting of the octal
numbers uses leading spaces, and Posix requires leading Ascii '0'

Also the stream only writes the old header, not the new one.

> TAR formaT unspecified
> ----------------------
>
>                 Key: COMPRESS-17
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-17
>             Project: Commons Compress
>          Issue Type: Bug
>         Environment: I use win xp sp3, but this is probably irrelevant.
>            Reporter: Sam Smith
>             Fix For: 1.1
>
>
> The TarArchive*putStream and Tar*putStream (e.g. TarInputStream/TarOutputStream) javadocs
say nothing about which specific TAR format(s) they support.
> They merely use the phrase "UNIX tar archive" which is WAY too generic of a statement.
> Here are some discussions on the various TAR formats:
> 	http://www.gnu.org/software/tar/manual/html_section/Formats.html
> 	http://leaf.dragonflybsd.org/cgi/web-man?command=tar&section=5
> I HIGHLY URGE YOU TO SUPPORT THE POSIX.1-2001 SPECIFICATION, SINCE IT SOLVES SO MANY
ISSUES (e.g. it supports unlimited path lengths and file sizes).
> Corollary, once you decide which TAR formats to support, this needs to be added to the
javadocs.  Make sure that the javadocs discuss all limitations for whatever format(s) are
supported (especially on pathlengths, file sizes, character sets, etc).  Also make sure and
include a hyperlink to a webpage that describes the format standards.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message