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

ruby-changes:30256

From: glass <ko1@a...>
Date: Thu, 1 Aug 2013 22:32:45 +0900 (JST)
Subject: [ruby-changes:30256] glass:r42308 (trunk): * string.c (str_rindex): remove comment.

glass	2013-08-01 22:32:06 +0900 (Thu, 01 Aug 2013)

  New Revision: 42308

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42308

  Log:
    * string.c (str_rindex): remove comment.

  Modified files:
    trunk/string.c

Index: string.c
===================================================================
--- string.c	(revision 42307)
+++ string.c	(revision 42308)
@@ -2685,7 +2685,6 @@ str_rindex(VALUE str, VALUE sub, const c https://github.com/ruby/ruby/blob/trunk/string.c#L2685
     searchlen = s - sbeg + 1;
 
     do {
-	/* printf("\"%s\" \"%s\" %ld %ld %d\n", hit, t, slen, searchlen, memcmp(hit, t, slen)); */
 	hit = memrchr(sbeg, c, searchlen);
 	if (!hit) break;
 	adjusted = rb_enc_left_char_head(sbeg, hit, e, enc);

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

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