Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Term fill in String#{,l,r}strip! even when SHARABLE_MIDDLE_SUBSTRING
Each of these methods calls str_modify_keep_cr before term filling, which should ensure the backing string uses private memory, and therefore term filling should not affect other strings. Skipping the term filling was added in a707ab4. Fixes [Bug #12540]
- Loading branch information