Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compress/bzip2: add support for concatenated bzip2 files #8629

Closed
krasin opened this issue Sep 2, 2014 · 2 comments
Closed

compress/bzip2: add support for concatenated bzip2 files #8629

krasin opened this issue Sep 2, 2014 · 2 comments

Comments

@krasin
Copy link

krasin commented Sep 2, 2014

This is not a bug, it's a feature request.

Consider you have concatenated two valid bzip2 files. The resulted file (like the
attached one) will be correctly decompressed by the /bin/bunzip2, but compress/bzip2
will only decompress the first half.

Attachments:

  1. repro-concatenated.bz2 (201690 bytes)
@ianlancetaylor
Copy link
Contributor

Comment 1:

Labels changed: added repo-main, release-none.

@krasin krasin added new labels Sep 2, 2014
@bradfitz bradfitz removed the new label Dec 18, 2014
@rsc rsc added this to the Unplanned milestone Apr 10, 2015
@dsnet
Copy link
Member

dsnet commented Dec 2, 2015

Using go1.5.1

This is supported and can be closed. This was added in 8a0779f.

I verified that Go's version and the C bzip2 program output the same thing.

@bradfitz bradfitz closed this as completed Dec 2, 2015
@golang golang locked and limited conversation to collaborators Dec 1, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants