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

ruby-changes:21748

From: naruse <ko1@a...>
Date: Sun, 20 Nov 2011 22:44:23 +0900 (JST)
Subject: [ruby-changes:21748] naruse:r33797 (trunk): * enc/unicode.c (PROPERTY_NAME_MAX_SIZE): +1.

naruse	2011-11-20 22:44:11 +0900 (Sun, 20 Nov 2011)

  New Revision: 33797

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

  Log:
    * enc/unicode.c (PROPERTY_NAME_MAX_SIZE): +1.
      reported by Ken Takata. [ruby-dev:44894][Bug #5652]

  Modified files:
    trunk/ChangeLog
    trunk/enc/unicode.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 33796)
+++ ChangeLog	(revision 33797)
@@ -1,3 +1,8 @@
+Sun Nov 20 22:43:03 2011  NARUSE, Yui  <naruse@r...>
+
+	* enc/unicode.c (PROPERTY_NAME_MAX_SIZE): +1.
+	  reported by Ken Takata. [ruby-dev:44894][Bug #5652]
+
 Sun Nov 20 11:01:28 2011  Tanaka Akira  <akr@f...>
 
 	* lib/set.rb (SortedSet.setup): remove old_init after initialize
Index: enc/unicode.c
===================================================================
--- enc/unicode.c	(revision 33796)
+++ enc/unicode.c	(revision 33797)
@@ -2080,7 +2080,7 @@
 
 #include "ruby/st.h"
 
-#define PROPERTY_NAME_MAX_SIZE    MAX_WORD_LENGTH
+#define PROPERTY_NAME_MAX_SIZE    MAX_WORD_LENGTH+1
 
 extern int
 onigenc_unicode_property_name_to_ctype(OnigEncoding enc, UChar* name, UChar* end)

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

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