mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
string.c: revert r45622
* string.c (str_buf_cat): revert r45622. broken data can be added later. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
46c3749996
commit
39fe6aa304
1 changed files with 1 additions and 4 deletions
5
string.c
5
string.c
|
@ -1500,10 +1500,7 @@ rb_str_modify_expand(VALUE str, long expand)
|
|||
str_make_independent_expand(str, expand);
|
||||
}
|
||||
}
|
||||
if (ENC_CODERANGE(str) == ENC_CODERANGE_BROKEN) {
|
||||
/* Force re-scan later */
|
||||
ENC_CODERANGE_CLEAR(str);
|
||||
}
|
||||
ENC_CODERANGE_CLEAR(str);
|
||||
}
|
||||
|
||||
/* As rb_str_modify(), but don't clear coderange */
|
||||
|
|
Loading…
Reference in a new issue