[前][次][番号順一覧][スレッド一覧]

ruby-changes:57044

From: git <ko1@a...>
Date: Thu, 15 Aug 2019 08:16:26 +0900 (JST)
Subject: [ruby-changes:57044] git: 132b7eb104 (master): * expand tabs. [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=132b7eb104

From 132b7eb104ed2f5d9966adb2f0edacb2406f40fb Mon Sep 17 00:00:00 2001
From: git <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Date: Thu, 15 Aug 2019 08:16:14 +0900
Subject: * expand tabs. [ci skip]


diff --git a/string.c b/string.c
index 9492ec8..9331532 100644
--- a/string.c
+++ b/string.c
@@ -3417,8 +3417,8 @@ str_casecmp(VALUE str1, VALUE str2) https://github.com/ruby/ruby/blob/trunk/string.c#L3417
     if (single_byte_optimizable(str1) && single_byte_optimizable(str2)) {
 	while (p1 < p1end && p2 < p2end) {
 	    if (*p1 != *p2) {
-		unsigned int c1 = TOLOWER(*p1 & 0xff);
-		unsigned int c2 = TOLOWER(*p2 & 0xff);
+                unsigned int c1 = TOLOWER(*p1 & 0xff);
+                unsigned int c2 = TOLOWER(*p2 & 0xff);
                 if (c1 != c2)
                     return INT2FIX(c1 < c2 ? -1 : 1);
 	    }
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]