<!DOCTYPE html>
<html>
  <head>
  </head>
  <body>
    <dl style="line-height: 1.5; margin-left: 2em">
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
      <dd style="margin-left: 8.5em">Kouhei Sutou &lt;kou****@clear*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2015-10-30 13:48:44 +0900 (Fri, 30 Oct 2015)</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
      <dd style="margin-left: 8.5em"><a href="https://github.com/groonga/groonga/commit/2f7e6d5020269ac28dc3aa547598e0ad15ac5934">2f7e6d5020269ac28dc3aa547598e0ad15ac5934</a></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Message</dt>
      <dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">Fix infinite loop bug

It may be occurred when log level is debug.</pre></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
      <dd style="margin-left: 8.5em">
        <ul>
          <li><a href="https://github.com/groonga/groonga/commit/2f7e6d5020269ac28dc3aa547598e0ad15ac5934#diff-cf87acdbcbd22709a858df5c01e6758a">lib/ii.c</a></li>
        </ul>
      </dd>
    </dl>

    <div class="diff-section" style="clear: both">
      <table style="border-collapse: collapse; border: 1px solid #aaa">
        <thead>
          <tr class="diff-header" style="border: 1px solid #aaa">
            <td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: lib/ii.c (+1 -1)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
            </td>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2f7e6d5020269ac28dc3aa547598e0ad15ac5934#diff-cf87acdbcbd22709a858df5c01e6758aL2639">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2f7e6d5020269ac28dc3aa547598e0ad15ac5934#diff-cf87acdbcbd22709a858df5c01e6758aL2640">2640</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2f7e6d5020269ac28dc3aa547598e0ad15ac5934#diff-cf87acdbcbd22709a858df5c01e6758aL2641">2641</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2f7e6d5020269ac28dc3aa547598e0ad15ac5934#diff-cf87acdbcbd22709a858df5c01e6758aL2642">2642</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2f7e6d5020269ac28dc3aa547598e0ad15ac5934#diff-cf87acdbcbd22709a858df5c01e6758aL2643">2643</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2f7e6d5020269ac28dc3aa547598e0ad15ac5934#diff-cf87acdbcbd22709a858df5c01e6758aL2644">2644</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2f7e6d5020269ac28dc3aa547598e0ad15ac5934#diff-cf87acdbcbd22709a858df5c01e6758aL2645">2645</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2f7e6d5020269ac28dc3aa547598e0ad15ac5934#diff-cf87acdbcbd22709a858df5c01e6758aL2646">2646</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2f7e6d5020269ac28dc3aa547598e0ad15ac5934#diff-cf87acdbcbd22709a858df5c01e6758aR2639">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2f7e6d5020269ac28dc3aa547598e0ad15ac5934#diff-cf87acdbcbd22709a858df5c01e6758aR2640">2640</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2f7e6d5020269ac28dc3aa547598e0ad15ac5934#diff-cf87acdbcbd22709a858df5c01e6758aR2641">2641</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2f7e6d5020269ac28dc3aa547598e0ad15ac5934#diff-cf87acdbcbd22709a858df5c01e6758aR2642">2642</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2f7e6d5020269ac28dc3aa547598e0ad15ac5934#diff-cf87acdbcbd22709a858df5c01e6758aR2643">2643</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2f7e6d5020269ac28dc3aa547598e0ad15ac5934#diff-cf87acdbcbd22709a858df5c01e6758aR2644">2644</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2f7e6d5020269ac28dc3aa547598e0ad15ac5934#diff-cf87acdbcbd22709a858df5c01e6758aR2645">2645</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2f7e6d5020269ac28dc3aa547598e0ad15ac5934#diff-cf87acdbcbd22709a858df5c01e6758aR2646">2646</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -2640,7 +2640,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">buffer_merge_dump_datavec(grn_ctx *ctx,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">   for (i = 0; i &lt; ii-&gt;n_elements; i++) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     GRN_LOG(ctx, GRN_LOG_DEBUG, &quot;dv[%d] data_size=%d, flags=%d&quot;,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">             i, dv[i].data_size, dv[i].flags);</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">-    for (<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">i</span> = 0, bufp = buf; j &lt; dv[i].data_size;) {</span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+    for (<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">j</span> = 0, bufp = buf; j &lt; dv[i].data_size;) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       bufp += grn_snprintf(bufp,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                            buf_end - bufp,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                            buf_end - bufp,</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>