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 String.recalc method for cases where no null terminator is found (issue #1446) #1450

Merged
merged 1 commit into from
Dec 1, 2016
Merged

Fix String.recalc method for cases where no null terminator is found (issue #1446) #1450

merged 1 commit into from
Dec 1, 2016

Conversation

Perelandric
Copy link
Contributor

The String.recalc method would truncate the final byte in a string
where no null terminator was found. The behavior and documentation
has been changed so that in the case of no null terminator, the
_size of the string remains unchanged.

Fixes #1446

The `String.recalc` method would truncate the final byte in a string
where no null terminator was found. The behavior and documentation
has been changed so that in the case of no null terminator, the
`_size` of the string remains unchanged.

Fixes #1446
@jemc jemc changed the title Prevent String.recalc data loss Fix String.recalc method for cases where no null terminator is found (issue #1446) Dec 1, 2016
@jemc jemc added the changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge label Dec 1, 2016
@jemc jemc merged commit 5dab996 into ponylang:master Dec 1, 2016
ponylang-main added a commit that referenced this pull request Dec 1, 2016
@Perelandric Perelandric deleted the fix_string_recalc branch December 1, 2016 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants