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

ruby-changes:3237

From: ko1@a...
Date: 27 Dec 2007 15:03:15 +0900
Subject: [ruby-changes:3237] nobu - Ruby:r14730 (trunk): * string.c (rb_str_casecmp): fixed using a wrong variable.

nobu	2007-12-27 15:02:55 +0900 (Thu, 27 Dec 2007)

  New Revision: 14730

  Modified files:
    trunk/ChangeLog
    trunk/string.c

  Log:
    * string.c (rb_str_casecmp): fixed using a wrong variable.
      [ruby-list:44402]


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/string.c?r1=14730&r2=14729
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14730&r2=14729

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 14729)
+++ ChangeLog	(revision 14730)
@@ -1,3 +1,8 @@
+Thu Dec 27 15:02:52 2007  Nobuyoshi Nakada  <nobu@r...>
+
+	* string.c (rb_str_casecmp): fixed using a wrong variable.
+	  [ruby-list:44402]
+
 Thu Dec 27 14:34:38 2007  Tanaka Akira  <akr@f...>
 
 	* io.c (io_fflush): checks wbuf modification by other threads.
Index: string.c
===================================================================
--- string.c	(revision 14729)
+++ string.c	(revision 14730)
@@ -1437,7 +1437,7 @@
 	return rb_str_cmp(str1, str2);
     }
 
-    p1 = RSTRING_PTR(str1); p1end = RSTRING_END(p1);
+    p1 = RSTRING_PTR(str1); p1end = RSTRING_END(str1);
     p2 = RSTRING_PTR(str2); p2end = RSTRING_END(str2);
     while (p1 < p1end && p2 < p2end) {
 	int c1 = rb_enc_codepoint(p1, p1end, enc);

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

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