ruby-changes:62322
From: Nobuyoshi <ko1@a...>
Date: Mon, 20 Jul 2020 14:59:36 +0900 (JST)
Subject: [ruby-changes:62322] a7c67fc6da (master): [ruby/stringio] Removed wrong UNREACHABLE
https://git.ruby-lang.org/ruby.git/commit/?id=a7c67fc6da From a7c67fc6da1248e98bfa40e961d82471ece0f5aa Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Sun, 19 Jul 2020 01:30:01 +0900 Subject: [ruby/stringio] Removed wrong UNREACHABLE https://github.com/ruby/stringio/commit/f528538d10 diff --git a/ext/stringio/stringio.c b/ext/stringio/stringio.c index d45cc88..9ab8537 100644 --- a/ext/stringio/stringio.c +++ b/ext/stringio/stringio.c @@ -1438,7 +1438,6 @@ strio_write(VALUE self, VALUE str) https://github.com/ruby/ruby/blob/trunk/ext/stringio/stringio.c#L1438 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; } -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/