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

ruby-changes:42415

From: naruse <ko1@a...>
Date: Tue, 5 Apr 2016 13:57:32 +0900 (JST)
Subject: [ruby-changes:42415] naruse:r54489 (trunk): * ext/nkf/nkf-utf8/nkf.c (mime_putc): fix typo.

naruse	2016-04-05 14:54:03 +0900 (Tue, 05 Apr 2016)

  New Revision: 54489

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54489

  Log:
    * ext/nkf/nkf-utf8/nkf.c (mime_putc): fix typo.
      [Bug #12202] [ruby-core:74802]

  Modified files:
    trunk/ChangeLog
    trunk/ext/nkf/nkf-utf8/nkf.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 54488)
+++ ChangeLog	(revision 54489)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Apr  5 14:50:28 2016  NARUSE, Yui  <naruse@r...>
+
+	* ext/nkf/nkf-utf8/nkf.c (mime_putc): fix typo.
+	  [Bug #12202] [ruby-core:74802]
+
 Tue Apr  5 00:06:44 2016  Aeris  <aeris@i...>
 
 	* ext/openssl/ossl_ssl.c (ossl_ssl_tmp_key): Access to ephemeral
Index: ext/nkf/nkf-utf8/nkf.c
===================================================================
--- ext/nkf/nkf-utf8/nkf.c	(revision 54488)
+++ ext/nkf/nkf-utf8/nkf.c	(revision 54489)
@@ -5436,7 +5436,7 @@ mime_putc(nkf_char c) https://github.com/ruby/ruby/blob/trunk/ext/nkf/nkf-utf8/nkf.c#L5436
 		mimeout_state.buf[mimeout_state.count++] = (char)c;
 		if (mimeout_state.count>MIMEOUT_BUF_LENGTH) {
 		    eof_mime();
-		    for (j=0;i<mimeout_state.count;j++) {
+		    for (j=0;j<mimeout_state.count;j++) {
 			(*o_mputc)(mimeout_state.buf[j]);
 			base64_count++;
 		    }

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

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