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

Fix LZ4{Block|Frame}InputStream.skip in some corner cases #120

Merged
merged 1 commit into from
Jan 4, 2018

Conversation

windie
Copy link
Contributor

@windie windie commented Jan 4, 2018

According to InputStream.skip javadoc, LZ4{Block|Frame}InputStream.skip should return 0 when n <= 0 or EOF.

According to `InputStream.skip` javadoc, `LZ4{Block|Frame}InputStream.skip` should return 0 when `n <= 0` or EOF.
@odaira odaira merged commit f78c4d9 into lz4:master Jan 4, 2018
@odaira
Copy link
Member

odaira commented Jan 4, 2018

Yes..., I think you are correct. Thanks for the fix!

@windie windie deleted the fix-skip branch January 5, 2018 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants