ruby-changes:56132
From: git <ko1@a...>
Date: Tue, 18 Jun 2019 12:21:51 +0900 (JST)
Subject: [ruby-changes:56132] git: c770c98ac4 (trunk): * expand tabs.
https://git.ruby-lang.org/ruby.git/commit/?id=c770c98ac4 From c770c98ac42ee20129f1296d9f7c4dad2ae45124 Mon Sep 17 00:00:00 2001 From: git <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> Date: Tue, 18 Jun 2019 12:21:38 +0900 Subject: * expand tabs. diff --git a/string.c b/string.c index 6b40a9e..e811e8a 100644 --- a/string.c +++ b/string.c @@ -1180,7 +1180,7 @@ str_replace_shared_without_enc(VALUE str2, VALUE str) https://github.com/ruby/ruby/blob/trunk/string.c#L1180 FL_SET(str2, STR_NOEMBED); RSTRING(str2)->as.heap.len = len; RSTRING(str2)->as.heap.ptr = ptr; - STR_SET_SHARED(str2, root); + STR_SET_SHARED(str2, root); } return str2; } -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/