ruby-changes:2625
From: ko1@a...
Date: 6 Dec 2007 01:38:33 +0900
Subject: [ruby-changes:2625] nobu - Ruby:r14116 (trunk): * regparse.c (i_apply_case_fold): fix for negative character class. a
nobu 2007-12-06 01:37:25 +0900 (Thu, 06 Dec 2007)
New Revision: 14116
Modified files:
trunk/ChangeLog
trunk/regparse.c
trunk/version.h
Log:
* 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].
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/version.h?r1=14116&r2=14115
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14116&r2=14115
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/regparse.c?r1=14116&r2=14115
Index: regparse.c
===================================================================
--- regparse.c (revision 14115)
+++ regparse.c (revision 14116)
@@ -347,7 +347,7 @@
extern hash_table_type*
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_hash,
};
@@ -4808,10 +4808,7 @@
}
else {
/* /(?i:[^A-C])/.match("a") ==> fail. */
- if (IS_NCCLASS_NOT(cc))
- BITSET_CLEAR_BIT(bs, *to);
- else
- BITSET_SET_BIT(bs, *to);
+ BITSET_SET_BIT(bs, *to);
}
}
}
Index: ChangeLog
===================================================================
--- ChangeLog (revision 14115)
+++ ChangeLog (revision 14116)
@@ -1,3 +1,8 @@
+Thu Dec 6 01:37:23 2007 Nobuyoshi Nakada <nobu@r...>
+
+ * 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@r...>
* ext/iconv/iconv.c (iconv_s_list): support NetBSD/Citrus iconv.
Index: version.h
===================================================================
--- version.h (revision 14115)
+++ version.h (revision 14116)
@@ -1,7 +1,7 @@
#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_RELEASE_CODE 20071205
+#define RUBY_RELEASE_CODE 20071206
#define RUBY_PATCHLEVEL 0
#define RUBY_VERSION_MAJOR 1
@@ -9,7 +9,7 @@
#define RUBY_VERSION_TEENY 0
#define RUBY_RELEASE_YEAR 2007
#define RUBY_RELEASE_MONTH 12
-#define RUBY_RELEASE_DAY 5
+#define RUBY_RELEASE_DAY 6
#ifdef RUBY_EXTERN
RUBY_EXTERN const char ruby_version[];
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml