diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-07-23 09:39:30 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-07-23 09:39:30 +0000 |
commit | e1def8a98713beef25e048c5333d418624f7d192 (patch) | |
tree | a6f3b3fd17ac060558423ec3eac44ab6be4b1944 /sjis.c | |
parent | 46eb6e9428918e78e852562a6926adc76f81ed97 (diff) | |
download | ruby-e1def8a98713beef25e048c5333d418624f7d192.tar.gz |
* include/ruby/oniguruma.h: upgrade to Oniguruma 5.9.0. fixes
some memory violation. [ruby-dev:31070]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sjis.c')
-rw-r--r-- | sjis.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -269,7 +269,7 @@ is_code_ctype(OnigCodePoint code, unsigned int ctype) ctype -= (ONIGENC_MAX_STD_CTYPE + 1); if (ctype >= (unsigned int )PropertyListNum) - return ONIGENCERR_TYPE_BUG; + return ONIGENC_ERR_TYPE_BUG; return onig_is_in_code_range((UChar* )PropertyList[ctype], code); } @@ -291,7 +291,7 @@ get_ctype_code_range(int ctype, OnigCodePoint* sb_out, ctype -= (ONIGENC_MAX_STD_CTYPE + 1); if (ctype >= PropertyListNum) - return ONIGENCERR_TYPE_BUG; + return ONIGENC_ERR_TYPE_BUG; *ranges = PropertyList[ctype]; return 0; |