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

ruby-changes:39939

From: nobu <ko1@a...>
Date: Sun, 4 Oct 2015 15:57:06 +0900 (JST)
Subject: [ruby-changes:39939] nobu:r52020 (trunk): euc_jp.c: fix compile error

nobu	2015-10-04 15:56:58 +0900 (Sun, 04 Oct 2015)

  New Revision: 52020

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52020

  Log:
    euc_jp.c: fix compile error
    
    * enc/euc_jp.c (mbc_case_fold): no longer use get_lower_case
      result.

  Modified files:
    trunk/enc/euc_jp.c
Index: enc/euc_jp.c
===================================================================
--- enc/euc_jp.c	(revision 52019)
+++ enc/euc_jp.c	(revision 52020)
@@ -382,7 +382,7 @@ mbc_case_fold(OnigCaseFoldType flag, https://github.com/ruby/ruby/blob/trunk/enc/euc_jp.c#L382
 
     len = mbc_enc_len(p, end, enc);
     if (len <= 0) return 1;
-    code = get_lower_case(mbc_to_code(p, end, enc));
+    get_lower_case(mbc_to_code(p, end, enc));
     /* assuming case folding in euc-jp doesn't change length */
     (*pp) += len;
     return len; /* return byte length of converted char to lower */

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

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