<!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 11:57:49 +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/a013813520b8e78c3c546494da670645983c6e22">a013813520b8e78c3c546494da670645983c6e22</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">windows: stop to use ifdef in var arguments</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/a013813520b8e78c3c546494da670645983c6e22#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 (+11 -11)</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/a013813520b8e78c3c546494da670645983c6e22#diff-95217a208a4d5d3ff78d01fed2902ba2L303">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a013813520b8e78c3c546494da670645983c6e22#diff-95217a208a4d5d3ff78d01fed2902ba2L304">304</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a013813520b8e78c3c546494da670645983c6e22#diff-95217a208a4d5d3ff78d01fed2902ba2L305">305</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a013813520b8e78c3c546494da670645983c6e22#diff-95217a208a4d5d3ff78d01fed2902ba2L306">306</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/a013813520b8e78c3c546494da670645983c6e22#diff-95217a208a4d5d3ff78d01fed2902ba2L307">307</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/a013813520b8e78c3c546494da670645983c6e22#diff-95217a208a4d5d3ff78d01fed2902ba2L308">308</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/a013813520b8e78c3c546494da670645983c6e22#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/a013813520b8e78c3c546494da670645983c6e22#diff-95217a208a4d5d3ff78d01fed2902ba2L310">310</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/a013813520b8e78c3c546494da670645983c6e22#diff-95217a208a4d5d3ff78d01fed2902ba2L311">311</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/a013813520b8e78c3c546494da670645983c6e22#diff-95217a208a4d5d3ff78d01fed2902ba2L312">312</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/a013813520b8e78c3c546494da670645983c6e22#diff-95217a208a4d5d3ff78d01fed2902ba2L313">313</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/a013813520b8e78c3c546494da670645983c6e22#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/a013813520b8e78c3c546494da670645983c6e22#diff-95217a208a4d5d3ff78d01fed2902ba2L315">315</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a013813520b8e78c3c546494da670645983c6e22#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/a013813520b8e78c3c546494da670645983c6e22#diff-95217a208a4d5d3ff78d01fed2902ba2L317">317</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </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/a013813520b8e78c3c546494da670645983c6e22#diff-95217a208a4d5d3ff78d01fed2902ba2L318">318</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/a013813520b8e78c3c546494da670645983c6e22#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/a013813520b8e78c3c546494da670645983c6e22#diff-95217a208a4d5d3ff78d01fed2902ba2L320">320</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a013813520b8e78c3c546494da670645983c6e22#diff-95217a208a4d5d3ff78d01fed2902ba2L321">321</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a013813520b8e78c3c546494da670645983c6e22#diff-95217a208a4d5d3ff78d01fed2902ba2L322">322</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/a013813520b8e78c3c546494da670645983c6e22#diff-95217a208a4d5d3ff78d01fed2902ba2R303">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a013813520b8e78c3c546494da670645983c6e22#diff-95217a208a4d5d3ff78d01fed2902ba2R304">304</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a013813520b8e78c3c546494da670645983c6e22#diff-95217a208a4d5d3ff78d01fed2902ba2R305">305</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a013813520b8e78c3c546494da670645983c6e22#diff-95217a208a4d5d3ff78d01fed2902ba2R306">306</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </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/a013813520b8e78c3c546494da670645983c6e22#diff-95217a208a4d5d3ff78d01fed2902ba2R307">307</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/a013813520b8e78c3c546494da670645983c6e22#diff-95217a208a4d5d3ff78d01fed2902ba2R308">308</a></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/a013813520b8e78c3c546494da670645983c6e22#diff-95217a208a4d5d3ff78d01fed2902ba2R309">309</a></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/a013813520b8e78c3c546494da670645983c6e22#diff-95217a208a4d5d3ff78d01fed2902ba2R310">310</a></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/a013813520b8e78c3c546494da670645983c6e22#diff-95217a208a4d5d3ff78d01fed2902ba2R311">311</a></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/a013813520b8e78c3c546494da670645983c6e22#diff-95217a208a4d5d3ff78d01fed2902ba2R312">312</a></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/a013813520b8e78c3c546494da670645983c6e22#diff-95217a208a4d5d3ff78d01fed2902ba2R313">313</a></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/a013813520b8e78c3c546494da670645983c6e22#diff-95217a208a4d5d3ff78d01fed2902ba2R314">314</a></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/a013813520b8e78c3c546494da670645983c6e22#diff-95217a208a4d5d3ff78d01fed2902ba2R315">315</a></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/a013813520b8e78c3c546494da670645983c6e22#diff-95217a208a4d5d3ff78d01fed2902ba2R316">316</a></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/a013813520b8e78c3c546494da670645983c6e22#diff-95217a208a4d5d3ff78d01fed2902ba2R317">317</a></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/a013813520b8e78c3c546494da670645983c6e22#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/a013813520b8e78c3c546494da670645983c6e22#diff-95217a208a4d5d3ff78d01fed2902ba2R319">319</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/a013813520b8e78c3c546494da670645983c6e22#diff-95217a208a4d5d3ff78d01fed2902ba2R320">320</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a013813520b8e78c3c546494da670645983c6e22#diff-95217a208a4d5d3ff78d01fed2902ba2R321">321</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a013813520b8e78c3c546494da670645983c6e22#diff-95217a208a4d5d3ff78d01fed2902ba2R322">322</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">@@ -304,19 +304,19 @@ <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"> mecab = mecab_new(argc, (char **)argv);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (!mecab) {</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">- GRN_PLUGIN_ERROR(ctx, GRN_TOKENIZER_ERROR,</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">- "[tokenizer][mecab] "</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; 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\", \"%s\""</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; 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">- ", \"%s\", \"%s\""</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">-#endif /* GRN_WITH_BUNDLED_MECAB */</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">- "): %s",</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">- argv[0], argv[1],</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[2], argv[3],</span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+ GRN_PLUGIN_ERROR(ctx, GRN_TOKENIZER_ERROR,</span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+ "[tokenizer][mecab] failed to create mecab_t: %s: "</span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+ "mecab_new(\"%s\", \"%s\", \"%s\", \"%s\")"</span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+ mecab_global_error_message(),</span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+ argv[0], argv[1], argv[2], argv[3]);</span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+#else /* GRN_WITH_BUNDLED_MECAB */</span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+ GRN_PLUGIN_ERROR(ctx, GRN_TOKENIZER_ERROR,</span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+ "[tokenizer][mecab] failed to create mecab_t: %s: "</span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+ "mecab_new(\"%s\", \"%s\")",</span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+ mecab_global_error_message(),</span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+ argv[0], argv[1]);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #endif /* GRN_WITH_BUNDLED_MECAB */</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">- mecab_global_error_message());</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return mecab;</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>