ruby-changes:72972
From: Nobuyoshi <ko1@a...>
Date: Fri, 19 Aug 2022 03:06:13 +0900 (JST)
Subject: [ruby-changes:72972] 35c794b26d (master): Fixed by [Bug #18964]
https://git.ruby-lang.org/ruby.git/commit/?id=35c794b26d From 35c794b26d406c39f90e188e3884003fe6aca532 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Thu, 18 Aug 2022 18:31:34 +0900 Subject: Fixed by [Bug #18964] --- file.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/file.c b/file.c index 92338bb754..5265d3a3a5 100644 --- a/file.c +++ b/file.c @@ -4090,9 +4090,6 @@ static VALUE https://github.com/ruby/ruby/blob/trunk/file.c#L4090 str_shrink(VALUE str) { rb_str_resize(str, RSTRING_LEN(str)); - // expand_path on Windows can sometimes mutate the string - // without clearing its coderange - ENC_CODERANGE_CLEAR(str); return str; } -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/