commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (COMPRESS-117) Certain tar files not recognised by ArchiveStreamFactory
Date Wed, 23 Mar 2011 12:51:05 GMT

     [ https://issues.apache.org/jira/browse/COMPRESS-117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebb resolved COMPRESS-117.
---------------------------

       Resolution: Fixed
    Fix Version/s: 1.2

ArchiveStreamFactory now tries to read the first archive entry if the match test fails.

> Certain tar files not recognised by ArchiveStreamFactory
> --------------------------------------------------------
>
>                 Key: COMPRESS-117
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-117
>             Project: Commons Compress
>          Issue Type: Bug
>          Components: Archivers
>    Affects Versions: 1.1
>         Environment: MS Windows Vista, NetBeans IDE
>            Reporter: Leo Izen
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: lzma912.tar
>
>
> Certain tar files, like this one: http://leo.scruffohio.net/cgi-bin/uploads/lzma912.tar
aren't being recognized by the ArchiveInputStream detector.
> I can open this tar file perfectly well with WinRAR and 7-zip. Neither of these complain.
I can also open it with the command tar -xvf. However, I narrowed it down, and it turns out
the TarArchiveInputStream.matches() is returning false, even though it is a valid tar file.
This glitch should be fixed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message