[
https://issues.apache.org/jira/browse/SANDBOX-285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672940#action_12672940
]
Stefan Bodewig commented on SANDBOX-285:
----------------------------------------
the same applies to the outputstream as well (it only writes a "h" instead of
"BZh"
> 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.