Skip to content
This repository was archived by the owner on Dec 2, 2025. It is now read-only.

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

Merged
odaira merged 1 commit into
lz4:masterfrom
windie:fix-skip
Jan 4, 2018
Merged

Fix LZ4{Block|Frame}InputStream.skip in some corner cases#120
odaira merged 1 commit into
lz4:masterfrom
windie:fix-skip

Conversation

@windie

@windie windie commented Jan 4, 2018

Copy link
Copy Markdown
Contributor

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

odaira commented Jan 4, 2018

Copy link
Copy Markdown
Member

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants