summaryrefslogtreecommitdiff
path: root/unicode.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-07-23 09:39:30 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-07-23 09:39:30 +0000
commite1def8a98713beef25e048c5333d418624f7d192 (patch)
treea6f3b3fd17ac060558423ec3eac44ab6be4b1944 /unicode.c
parent46eb6e9428918e78e852562a6926adc76f81ed97 (diff)
downloadruby-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 'unicode.c')
-rw-r--r--unicode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unicode.c b/unicode.c
index 12df76f449..657954a5fe 100644
--- a/unicode.c
+++ b/unicode.c
@@ -10756,7 +10756,7 @@ onigenc_unicode_is_code_ctype(OnigCodePoint code, unsigned int ctype)
}
if (ctype >= CODE_RANGES_NUM) {
- return ONIGENCERR_TYPE_BUG;
+ return ONIGENC_ERR_TYPE_BUG;
}
if (CodeRangeTableInited == 0) init_code_range_array();
@@ -10769,7 +10769,7 @@ extern int
onigenc_unicode_ctype_code_range(int ctype, const OnigCodePoint* ranges[])
{
if (ctype >= CODE_RANGES_NUM) {
- return ONIGENCERR_TYPE_BUG;
+ return ONIGENC_ERR_TYPE_BUG;
}
if (CodeRangeTableInited == 0) init_code_range_array();