<!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 <kou****@clear*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2015-10-18 10:13:39 +0900 (Sun, 18 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/fe30cfff95e1c46b6b7dc4704eedd352bd283914">fe30cfff95e1c46b6b7dc4704eedd352bd283914</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, "Liberation Mono", Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">Fix a bug that wrong argument is reported</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/fe30cfff95e1c46b6b7dc4704eedd352bd283914#diff-95217a208a4d5d3ff78d01fed2902ba2">plugins/tokenizers/mecab.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, "Liberation Mono", 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: plugins/tokenizers/mecab.c (+3 -3)</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, "Liberation Mono", 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/fe30cfff95e1c46b6b7dc4704eedd352bd283914#diff-95217a208a4d5d3ff78d01fed2902ba2L306">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fe30cfff95e1c46b6b7dc4704eedd352bd283914#diff-95217a208a4d5d3ff78d01fed2902ba2L307">307</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fe30cfff95e1c46b6b7dc4704eedd352bd283914#diff-95217a208a4d5d3ff78d01fed2902ba2L308">308</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fe30cfff95e1c46b6b7dc4704eedd352bd283914#diff-95217a208a4d5d3ff78d01fed2902ba2L309">309</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/fe30cfff95e1c46b6b7dc4704eedd352bd283914#diff-95217a208a4d5d3ff78d01fed2902ba2L310">310</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fe30cfff95e1c46b6b7dc4704eedd352bd283914#diff-95217a208a4d5d3ff78d01fed2902ba2L311">311</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fe30cfff95e1c46b6b7dc4704eedd352bd283914#diff-95217a208a4d5d3ff78d01fed2902ba2L312">312</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fe30cfff95e1c46b6b7dc4704eedd352bd283914#diff-95217a208a4d5d3ff78d01fed2902ba2L313">313</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fe30cfff95e1c46b6b7dc4704eedd352bd283914#diff-95217a208a4d5d3ff78d01fed2902ba2L314">314</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/fe30cfff95e1c46b6b7dc4704eedd352bd283914#diff-95217a208a4d5d3ff78d01fed2902ba2L315">315</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fe30cfff95e1c46b6b7dc4704eedd352bd283914#diff-95217a208a4d5d3ff78d01fed2902ba2L316">316</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/fe30cfff95e1c46b6b7dc4704eedd352bd283914#diff-95217a208a4d5d3ff78d01fed2902ba2L317">317</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fe30cfff95e1c46b6b7dc4704eedd352bd283914#diff-95217a208a4d5d3ff78d01fed2902ba2L318">318</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fe30cfff95e1c46b6b7dc4704eedd352bd283914#diff-95217a208a4d5d3ff78d01fed2902ba2L319">319</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fe30cfff95e1c46b6b7dc4704eedd352bd283914#diff-95217a208a4d5d3ff78d01fed2902ba2L320">320</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", 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/fe30cfff95e1c46b6b7dc4704eedd352bd283914#diff-95217a208a4d5d3ff78d01fed2902ba2R306">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fe30cfff95e1c46b6b7dc4704eedd352bd283914#diff-95217a208a4d5d3ff78d01fed2902ba2R307">307</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fe30cfff95e1c46b6b7dc4704eedd352bd283914#diff-95217a208a4d5d3ff78d01fed2902ba2R308">308</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fe30cfff95e1c46b6b7dc4704eedd352bd283914#diff-95217a208a4d5d3ff78d01fed2902ba2R309">309</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </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/fe30cfff95e1c46b6b7dc4704eedd352bd283914#diff-95217a208a4d5d3ff78d01fed2902ba2R310">310</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fe30cfff95e1c46b6b7dc4704eedd352bd283914#diff-95217a208a4d5d3ff78d01fed2902ba2R311">311</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fe30cfff95e1c46b6b7dc4704eedd352bd283914#diff-95217a208a4d5d3ff78d01fed2902ba2R312">312</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fe30cfff95e1c46b6b7dc4704eedd352bd283914#diff-95217a208a4d5d3ff78d01fed2902ba2R313">313</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fe30cfff95e1c46b6b7dc4704eedd352bd283914#diff-95217a208a4d5d3ff78d01fed2902ba2R314">314</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </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/fe30cfff95e1c46b6b7dc4704eedd352bd283914#diff-95217a208a4d5d3ff78d01fed2902ba2R315">315</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fe30cfff95e1c46b6b7dc4704eedd352bd283914#diff-95217a208a4d5d3ff78d01fed2902ba2R316">316</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </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/fe30cfff95e1c46b6b7dc4704eedd352bd283914#diff-95217a208a4d5d3ff78d01fed2902ba2R317">317</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fe30cfff95e1c46b6b7dc4704eedd352bd283914#diff-95217a208a4d5d3ff78d01fed2902ba2R318">318</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fe30cfff95e1c46b6b7dc4704eedd352bd283914#diff-95217a208a4d5d3ff78d01fed2902ba2R319">319</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/fe30cfff95e1c46b6b7dc4704eedd352bd283914#diff-95217a208a4d5d3ff78d01fed2902ba2R320">320</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", 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">@@ -307,14 +307,14 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">mecab_create(grn_ctx *ctx)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> GRN_PLUGIN_ERROR(ctx, GRN_TOKENIZER_ERROR,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> "[tokenizer][mecab] "</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> "failed to create mecab_t: mecab_new("</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">- "\"%s\""</span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+ "\"%s\"<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">, \"%s\"</span>"</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #ifdef GRN_WITH_BUNDLED_MECAB</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> ", \"%s\", \"%s\""</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #endif /* GRN_WITH_BUNDLED_MECAB */</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> "): %s",</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">- argv[0],</span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+ argv[0],<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000"> argv[1],</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #ifdef GRN_WITH_BUNDLED_MECAB</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">- argv[<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">1</span>], argv[<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">2</span>],</span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+ argv[<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">2</span>], argv[<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">3</span>],</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #endif /* GRN_WITH_BUNDLED_MECAB */</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> mecab_global_error_message());</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>