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

correct get() result for buffer ending between CR and LF #3

Merged
merged 1 commit into from
Jul 18, 2017
Merged

correct get() result for buffer ending between CR and LF #3

merged 1 commit into from
Jul 18, 2017

Conversation

mhassan1
Copy link

If the read buffer ends between the CR and LF in a CRLF file, get() will incorrectly determine the line ending to be CR. If a buffer only has a CR at the end, we should combine it with the next buffer to see if it is truly a CR file or a CRLF file.

@coveralls
Copy link

coveralls commented Jul 17, 2017

Coverage Status

Coverage increased (+1.5%) to 93.182% when pulling 655fd2a on mhassan1:betweenCRandLF into 14b42cb on kolodny:master.

@kolodny kolodny merged commit 988591b into kolodny:master Jul 18, 2017
@kolodny
Copy link
Owner

kolodny commented Jul 18, 2017

Thanks! I've added you as a contributor too.

@kolodny
Copy link
Owner

kolodny commented Jul 18, 2017

Published to 1.1.1

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.

None yet

4 participants