From: naruse@... Date: 2016-04-05T06:03:58+00:00 Subject: [ruby-core:74815] [Ruby trunk Bug#12202] nkf.c static void mime_putc the variable being used for loop used for outer loop too Issue #12202 has been updated by Yui NARUSE. Anton Sivakov wrote: > Yui NARUSE wrote: > > Applied in changeset r54423. > > > > ---------- > > * ext/nkf/nkf-utf8/nkf.c: Merge upstream 4f3edf80a0. > > patched by Anton Sivakov [Bug #12201] [Bug #12202] > > Hi. I saw your changes and now it's: > ... > for (j=0;i (*o_mputc)(mimeout_state.buf[j]); > ... > > Now you're using 'j' but on condition you still using 'i'. Is it ok or mistake? fixed, thanks! ---------------------------------------- Bug #12202: nkf.c static void mime_putc the variable being used for loop used for outer loop too https://bugs.ruby-lang.org/issues/12202#change-57940 * Author: Anton Sivakov * Status: Closed * Priority: Normal * Assignee: * ruby -v: * Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN ---------------------------------------- ~~~ for (i=0;i