зеркало из https://github.com/github/ruby.git
* regparse.c (i_apply_case_fold): fix for negative character class. a
patch from Yusuke ENDOH <mame AT tsg.ne.jp> in [ruby-core:13884]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
46d6af3a9c
Коммит
a5c6b705db
|
@ -1,3 +1,8 @@
|
||||||
|
Thu Dec 6 01:37:23 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* regparse.c (i_apply_case_fold): fix for negative character class. a
|
||||||
|
patch from Yusuke ENDOH <mame AT tsg.ne.jp> in [ruby-core:13884].
|
||||||
|
|
||||||
Thu Dec 6 01:00:38 2007 NARUSE, Yui <naruse@ruby-lang.org>
|
Thu Dec 6 01:00:38 2007 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* ext/iconv/iconv.c (iconv_s_list): support NetBSD/Citrus iconv.
|
* ext/iconv/iconv.c (iconv_s_list): support NetBSD/Citrus iconv.
|
||||||
|
|
|
@ -347,7 +347,7 @@ str_end_hash(st_strend_key* x)
|
||||||
extern hash_table_type*
|
extern hash_table_type*
|
||||||
onig_st_init_strend_table_with_size(int size)
|
onig_st_init_strend_table_with_size(int size)
|
||||||
{
|
{
|
||||||
static struct st_hash_type hashType = {
|
static const struct st_hash_type hashType = {
|
||||||
str_end_cmp,
|
str_end_cmp,
|
||||||
str_end_hash,
|
str_end_hash,
|
||||||
};
|
};
|
||||||
|
@ -4808,10 +4808,7 @@ i_apply_case_fold(OnigCodePoint from, OnigCodePoint to[],
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
/* /(?i:[^A-C])/.match("a") ==> fail. */
|
/* /(?i:[^A-C])/.match("a") ==> fail. */
|
||||||
if (IS_NCCLASS_NOT(cc))
|
BITSET_SET_BIT(bs, *to);
|
||||||
BITSET_CLEAR_BIT(bs, *to);
|
|
||||||
else
|
|
||||||
BITSET_SET_BIT(bs, *to);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#define RUBY_VERSION "1.9.0"
|
#define RUBY_VERSION "1.9.0"
|
||||||
#define RUBY_RELEASE_DATE "2007-12-05"
|
#define RUBY_RELEASE_DATE "2007-12-06"
|
||||||
#define RUBY_VERSION_CODE 190
|
#define RUBY_VERSION_CODE 190
|
||||||
#define RUBY_RELEASE_CODE 20071205
|
#define RUBY_RELEASE_CODE 20071206
|
||||||
#define RUBY_PATCHLEVEL 0
|
#define RUBY_PATCHLEVEL 0
|
||||||
|
|
||||||
#define RUBY_VERSION_MAJOR 1
|
#define RUBY_VERSION_MAJOR 1
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
#define RUBY_VERSION_TEENY 0
|
#define RUBY_VERSION_TEENY 0
|
||||||
#define RUBY_RELEASE_YEAR 2007
|
#define RUBY_RELEASE_YEAR 2007
|
||||||
#define RUBY_RELEASE_MONTH 12
|
#define RUBY_RELEASE_MONTH 12
|
||||||
#define RUBY_RELEASE_DAY 5
|
#define RUBY_RELEASE_DAY 6
|
||||||
|
|
||||||
#ifdef RUBY_EXTERN
|
#ifdef RUBY_EXTERN
|
||||||
RUBY_EXTERN const char ruby_version[];
|
RUBY_EXTERN const char ruby_version[];
|
||||||
|
|
Загрузка…
Ссылка в новой задаче