[前][次][番号順一覧][スレッド一覧]

ruby-changes:2178

From: ko1@a...
Date: 10 Oct 2007 15:40:10 +0900
Subject: [ruby-changes:2178] nobu - Ruby:r13669 (trunk): * string.c (rb_enc_str_coderange): fixed checkfor non-ascii.

nobu	2007-10-10 14:31:08 +0900 (Wed, 10 Oct 2007)

  New Revision: 13669

  Modified files:
    trunk/ChangeLog
    trunk/string.c
    trunk/version.h

  Log:
    * string.c (rb_enc_str_coderange): fixed checkfor non-ascii.


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/version.h?r1=13669&r2=13668
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/string.c?r1=13669&r2=13668
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=13669&r2=13668

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 13668)
+++ ChangeLog	(revision 13669)
@@ -1,3 +1,7 @@
+Wed Oct 10 14:31:05 2007  Nobuyoshi Nakada  <nobu@r...>
+
+	* string.c (rb_enc_str_coderange): fixed checkfor non-ascii.
+
 Tue Oct  9 21:35:28 2007  Nobuyoshi Nakada  <nobu@r...>
 
 	* array.c (rb_ary_permutation, rb_ary_combination): missing type
Index: string.c
===================================================================
--- string.c	(revision 13668)
+++ string.c	(revision 13669)
@@ -117,7 +117,7 @@
 	    while (p < e) {
 		int c = (unsigned char)*p;
 
-		if (c > 0x80) {
+		if (!isascii(c)) {
 		    cr = ENC_CODERANGE_MULTI;
 		    break;
 		}
Index: version.h
===================================================================
--- version.h	(revision 13668)
+++ version.h	(revision 13669)
@@ -1,7 +1,7 @@
 #define RUBY_VERSION "1.9.0"
-#define RUBY_RELEASE_DATE "2007-10-09"
+#define RUBY_RELEASE_DATE "2007-10-10"
 #define RUBY_VERSION_CODE 190
-#define RUBY_RELEASE_CODE 20071009
+#define RUBY_RELEASE_CODE 20071010
 #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 10
-#define RUBY_RELEASE_DAY 9
+#define RUBY_RELEASE_DAY 10
 
 #ifdef RUBY_EXTERN
 RUBY_EXTERN const char ruby_version[];

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml

[前][次][番号順一覧][スレッド一覧]