ruby-changes:56271
From: git <ko1@a...>
Date: Sat, 29 Jun 2019 10:17:57 +0900 (JST)
Subject: [ruby-changes:56271] git: a88107c44d (trunk): * expand tabs.
https://git.ruby-lang.org/ruby.git/commit/?id=a88107c44d From a88107c44dd08b02ed1c1b5951882b070a1eab93 Mon Sep 17 00:00:00 2001 From: git <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> Date: Sat, 29 Jun 2019 10:17:37 +0900 Subject: * expand tabs. diff --git a/string.c b/string.c index d85f342..6bb8a24 100644 --- a/string.c +++ b/string.c @@ -8593,7 +8593,7 @@ get_reg_grapheme_cluster(rb_encoding *enc) https://github.com/ruby/ruby/blob/trunk/string.c#L8593 reg_grapheme_cluster = reg_grapheme_cluster_utf8; } if (!reg_grapheme_cluster) { - const OnigUChar source_ascii[] = "\\X"; + const OnigUChar source_ascii[] = "\\X"; OnigErrorInfo einfo; const OnigUChar *source = source_ascii; size_t source_len = sizeof(source_ascii) - 1; @@ -8616,7 +8616,7 @@ get_reg_grapheme_cluster(rb_encoding *enc) https://github.com/ruby/ruby/blob/trunk/string.c#L8616 #undef CHARS_32BE #undef CHARS_32LE } - int r = onig_new(®_grapheme_cluster, source, source + source_len, + int r = onig_new(®_grapheme_cluster, source, source + source_len, ONIG_OPTION_DEFAULT, enc, OnigDefaultSyntax, &einfo); if (r) { UChar message[ONIG_MAX_ERROR_MESSAGE_LEN]; -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/