summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-09 14:52:20 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-09 14:52:20 +0000
commit4ced21cf18d5d85337a1bfcd4d7626b82ac0ae08 (patch)
tree6eceed0d9ffcb2557315d0f0b3fa627ad48d33ad
parent7fe77ffa7b6fe8097cc5e9ae150a9c000922af81 (diff)
downloadruby-4ced21cf18d5d85337a1bfcd4d7626b82ac0ae08.tar.gz
ruby-4ced21cf18d5d85337a1bfcd4d7626b82ac0ae08.tar.xz
ruby-4ced21cf18d5d85337a1bfcd4d7626b82ac0ae08.zip
* regex.c (mbctab_sjis): 0x80 is not shift jis first byte.
[ruby-dev:20516] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--regex.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index b95db3e78..965a5e1d8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Jul 9 23:50:46 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+
+ * regex.c (mbctab_sjis): 0x80 is not shift jis first byte.
+ [ruby-dev:20516]
+
Wed Jul 9 15:38:28 2003 WATANABE Hirofumi <eban@ruby-lang.org>
* instruby.rb: do not install shared libraries as man pages.
diff --git a/regex.c b/regex.c
index 4ac18cb3a..a70edbbbd 100644
--- a/regex.c
+++ b/regex.c
@@ -4462,7 +4462,7 @@ static const unsigned char mbctab_euc[] = { /* 0xA1-0xFE */
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0,
};
-static const unsigned char mbctab_sjis[] = { /* 0x80-0x9f,0xE0-0xFC */
+static const unsigned char mbctab_sjis[] = { /* 0x81-0x9F,0xE0-0xFC */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
@@ -4471,7 +4471,7 @@ static const unsigned char mbctab_sjis[] = { /* 0x80-0x9f,0xE0-0xFC */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,