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

Stefan Bodewig resolved SANDBOX-285.
------------------------------------

    Resolution: Fixed

I used three separate reads and character comparisions instead of byte[] -> 
string to avoid encoding issues and also fixed the outputstream in svn revision 
743678

> commons-compress fails to read bzip2 file create with bzip2 unix cmdline tool
> -----------------------------------------------------------------------------
>
>                 Key: SANDBOX-285
>                 URL: https://issues.apache.org/jira/browse/SANDBOX-285
>             Project: Commons Sandbox
>          Issue Type: Bug
>          Components: Compress
>    Affects Versions: Nightly Builds
>         Environment: Unix
>            Reporter: Ingo Rockel
>            Assignee: Stefan Bodewig
>         Attachments: bla.txt.bz2, BZip2CompressorInputStream.java.patch
>
>
> Commons-compress fails to read bzip2 files created with the bzip2 unix 
> cmdline tool because it incorrectly checks for 'h' as first char in stream, 
> the magic number according to http://en.wikipedia.org/wiki/Bzip2 is 'BZh'.

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

Reply via email to