mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
parent
574871781b
commit
a7c67fc6da
Notes:
git
2020-07-20 14:59:46 +09:00
1 changed files with 0 additions and 1 deletions
|
@ -1438,7 +1438,6 @@ strio_write(VALUE self, VALUE str)
|
|||
VALUE converted = rb_str_conv_enc(str, enc2, enc);
|
||||
if (converted == str && enc2 != ascii8bit) { /* conversion failed */
|
||||
rb_enc_check(rb_enc_from_encoding(enc), str);
|
||||
UNREACHABLE;
|
||||
}
|
||||
str = converted;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue