Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
/ druntime Public archive

Fixes issue 18279 - rt.util.utf does not properly reserve buffer in toUTF16/toUTF16z#2065

Closed
schveiguy wants to merge 1 commit intodlang:masterfrom
schveiguy:fix18279
Closed

Fixes issue 18279 - rt.util.utf does not properly reserve buffer in toUTF16/toUTF16z#2065
schveiguy wants to merge 1 commit intodlang:masterfrom
schveiguy:fix18279

Conversation

@schveiguy
Copy link
Member

setting length to 0 no longer works for reserving GC data. You need to use arr.reserve

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @schveiguy!

Bugzilla references

Auto-close Bugzilla Description
18279 rt.util.utf does not properly reserve buffer in toUTF16/toUTF16z

@dlang-bot dlang-bot added the Bug Fix Include reference to corresponding bugzilla issue label Jan 28, 2018
@schveiguy schveiguy added the Trivial typos, formatting, comments label Jan 28, 2018
@rainers
Copy link
Member

rainers commented Jan 28, 2018

There is also #2053

@schveiguy
Copy link
Member Author

Closing in favor of #2053

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Bug Fix Include reference to corresponding bugzilla issue Trivial typos, formatting, comments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants