1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* enc/unicode.c (PROPERTY_NAME_MAX_SIZE): +1.

reported by Ken Takata. [ruby-dev:44894][Bug #5652]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2011-11-20 13:44:11 +00:00
parent 901ed0b318
commit be276c140d
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Sun Nov 20 22:43:03 2011 NARUSE, Yui <naruse@ruby-lang.org>
* 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@fsij.org>
* lib/set.rb (SortedSet.setup): remove old_init after initialize

View file

@ -2080,7 +2080,7 @@ onigenc_utf16_32_get_ctype_code_range(OnigCtype ctype, OnigCodePoint* sb_out,
#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)