Skip to content

Commit

Permalink
* enc/unicode.c (PROPERTY_NAME_MAX_SIZE): +1.
Browse files Browse the repository at this point in the history
  reported by Ken Takata. [ruby-dev:44894][Bug ruby#5652]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nurse committed Nov 20, 2011
1 parent 901ed0b commit be276c1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Sun Nov 20 22:43:03 2011 NARUSE, Yui <[email protected]>

* 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 <[email protected]>

* lib/set.rb (SortedSet.setup): remove old_init after initialize
Expand Down
2 changes: 1 addition & 1 deletion enc/unicode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit be276c1

Please sign in to comment.