From 35c794b26d406c39f90e188e3884003fe6aca532 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Thu, 18 Aug 2022 18:31:34 +0900 Subject: [PATCH] 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 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; }