<!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-04-16 21:36:51 +0900 (Thu, 16 Apr 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/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5">e76d983390c1849da8a0fdfd158bcd77ebc1a8e5</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: always use _read() on Windows</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/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#diff-0">build/ac_macros/check_functions.m4</a></li>
<li><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#diff-1">config.h.cmake</a></li>
<li><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#diff-2">include/groonga/portability.h</a></li>
<li><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#diff-3">lib/grn.h</a></li>
<li><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#diff-4">lib/ii.c</a></li>
<li><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#diff-5">lib/io.c</a></li>
<li><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#diff-6">lib/proc.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: build/ac_macros/check_functions.m4 (+0 -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, "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/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L0L9">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L0L10">10</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L0L11">11</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L0L12">12</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L0L13">13</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L0L14">14</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L0L15">15</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L0L16">16</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/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L0R9">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L0R10">10</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L0R11">11</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L0R12">12</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/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L0R13">13</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L0R14">14</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L0R15">15</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">@@ -10,7 +10,6 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">AC_CHECK_FUNCS(gmtime_r)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> AC_CHECK_FUNCS(localtime_r)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> AC_CHECK_FUNCS(mkostemp)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> AC_CHECK_FUNCS(open)</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-AC_CHECK_FUNCS(read)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> AC_CHECK_FUNCS(strcasecmp)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> AC_CHECK_FUNCS(strncasecmp)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> AC_CHECK_FUNCS(strtoull)</span>
</pre>
</td>
</tr>
</tbody>
</table>
<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: config.h.cmake (+0 -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, "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/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L1L149">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L1L150">150</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L1L151">151</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L1L152">152</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L1L153">153</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L1L154">154</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L1L155">155</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L1L156">156</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/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L1R149">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L1R150">150</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L1R151">151</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L1R152">152</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/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L1R153">153</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L1R154">154</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L1R155">155</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">@@ -150,7 +150,6 @@</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #cmakedefine HAVE_LOCALTIME_R</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #cmakedefine HAVE_MKOSTEMP</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #cmakedefine HAVE_OPEN</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-#cmakedefine HAVE_READ</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #cmakedefine HAVE_STRCASECMP</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #cmakedefine HAVE_STRNCASECMP</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #cmakedefine HAVE_STRTOULL</span>
</pre>
</td>
</tr>
</tbody>
</table>
<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: include/groonga/portability.h (+6 -0)</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/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L2L114">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L2L115">115</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L2L116">116</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L2L117">117</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-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L2L118">118</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/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L2R114">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L2R115">115</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L2R116">116</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L2R117">117</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L2R118">118</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L2R119">119</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L2R120">120</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L2R121">121</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L2R122">122</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L2R123">123</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L2R124">124</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">@@ -115,4 +115,10 @@</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # define grn_write(fd, buf, count) write((fd), (buf), (count))</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #endif /* WIN32 */</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+#ifdef WIN32</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+# define grn_read(fd, buf, count) _read((fd), (buf), (count))</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+#else</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+# define grn_read(fd, buf, count) read((fd), (buf), (count))</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+#endif /* WIN32 */</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #endif /* GROONGA_PORTABILITY_H */</span>
</pre>
</td>
</tr>
</tbody>
</table>
<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: lib/grn.h (+0 -12)</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/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L3L78">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L3L79">79</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L3L80">80</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L3L81">81</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L3L82">82</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L3L83">83</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L3L84">84</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L3L85">85</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L3L86">86</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L3L87">87</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L3L88">88</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L3L89">89</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L3L90">90</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L3L91">91</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L3L92">92</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L3L93">93</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L3L94">94</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L3L95">95</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L3L96">96</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/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L3R78">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L3R79">79</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L3R80">80</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L3R81">81</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-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/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L3R82">82</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L3R83">83</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L3R84">84</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">@@ -79,18 +79,6 @@</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # define GRN_CLOSE(fd) _close(fd)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #endif /* HAVE_CLOSE */</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-#ifdef HAVE_READ</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-# define GRN_READ(fd, buf, count) read(fd, buf, count)</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-#else</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-# define GRN_READ(fd, buf, count) _read(fd, buf, count)</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-#endif /* HAVE_READ */</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-#ifdef HAVE_WRITE</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-# define GRN_WRITE(fd, buf, count) write(fd, buf, count)</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-#else</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-# define GRN_WRITE(fd, buf, count) _write(fd, buf, count)</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-#endif /* HAVE_WRITE */</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #ifdef WIN32</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 defined(__GNUC__) && !defined(WINVER)</span>
</pre>
</td>
</tr>
</tbody>
</table>
<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: 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, "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/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L4L7404">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L4L7405">7405</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L4L7406">7406</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L4L7407">7407</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L4L7408">7408</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/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L4L7409">7409</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L4L7410">7410</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L4L7411">7411</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/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L4R7404">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L4R7405">7405</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L4R7406">7406</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L4R7407">7407</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L4R7408">7408</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L4R7409">7409</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L4R7410">7410</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L4R7411">7411</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">@@ -7405,7 +7405,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">grn_ii_buffer_fetch(grn_ctx *ctx, grn_ii_buffer *ii_buffer,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> ERRNO_ERR("grn_lseek");</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- if (read(ii_buffer->tmpfd, block->buffer, bytesize) != bytesize) {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ if (grn_read(ii_buffer->tmpfd, block->buffer, bytesize) != bytesize) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> SERR("read");</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
</pre>
</td>
</tr>
</tbody>
</table>
<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: lib/io.c (+2 -2)</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/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L5L480">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L5L481">481</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L5L482">482</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L5L483">483</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L5L484">484</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/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L5L485">485</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L5L486">486</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L5L487">487</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L5L514">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L5L515">515</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L5L516">516</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L5L517">517</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L5L518">518</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/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L5L519">519</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L5L520">520</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L5L521">521</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/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L5R480">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L5R481">481</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L5R482">482</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L5R483">483</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L5R484">484</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L5R485">485</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L5R486">486</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L5R487">487</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L5R514">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L5R515">515</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L5R516">516</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L5R517">517</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L5R518">518</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L5R519">519</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L5R520">520</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L5R521">521</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">@@ -481,7 +481,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">grn_io_detect_type(grn_ctx *ctx, const char *path)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (fd != -1) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> struct stat s;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (fstat(fd, &s) != -1 && s.st_size >= sizeof(struct _grn_io_header)) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- if (read(fd, &h, sizeof(struct _grn_io_header)) == sizeof(struct _grn_io_header)) {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ if (grn_read(fd, &h, sizeof(struct _grn_io_header)) == sizeof(struct _grn_io_header)) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (!memcmp(h.idstr, GRN_IO_IDSTR, 16)) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> res = h.type;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> } else {</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -515,7 +515,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">grn_io_open(grn_ctx *ctx, const char *path, grn_io_mode mode)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> int fd = GRN_OPEN(path, O_RDWR | O_BINARY);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (fd == -1) { SERR(path); return NULL; }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (fstat(fd, &s) != -1 && s.st_size >= sizeof(struct _grn_io_header)) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- if (read(fd, &h, sizeof(struct _grn_io_header)) == sizeof(struct _grn_io_header)) {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ if (grn_read(fd, &h, sizeof(struct _grn_io_header)) == sizeof(struct _grn_io_header)) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (!memcmp(h.idstr, GRN_IO_IDSTR, 16)) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> header_size = h.header_size;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> segment_size = h.segment_size;</span>
</pre>
</td>
</tr>
</tbody>
</table>
<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: lib/proc.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, "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/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L6L89">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L6L90">90</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L6L91">91</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L6L92">92</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L6L93">93</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/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L6L94">94</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L6L95">95</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L6L96">96</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/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L6R89">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L6R90">90</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L6R91">91</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L6R92">92</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L6R93">93</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L6R94">94</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L6R95">95</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e76d983390c1849da8a0fdfd158bcd77ebc1a8e5#L6R96">96</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">@@ -90,7 +90,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">grn_bulk_put_from_file(grn_ctx *ctx, grn_obj *bulk, const char *path)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if ((buf = GRN_MALLOC(rest))) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> ssize_t ss;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> for (bp = buf; rest; rest -= ss, bp += ss) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- if ((ss = GRN_READ(fd, bp, rest)) == -1) { goto exit; }</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ if ((ss = grn_read(fd, bp, rest)) == -1) { goto exit; }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> GRN_TEXT_PUT(ctx, bulk, buf, stat.st_size);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> ret = 1;</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>