<!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-01-30 17:27:26 +0900 (Fri, 30 Jan 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/a29eee18b33b47539515d8438b782ad350483937">a29eee18b33b47539515d8438b782ad350483937</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: check "64" version
Because localtime_s() and gmtime_s() are inline functions. So we need to
include time.h to use them. But we don't have a way to check function
with including header file.</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/a29eee18b33b47539515d8438b782ad350483937#diff-0">build/ac_macros/check_functions.m4</a></li>
<li><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#diff-1">config.h.cmake</a></li>
<li><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#diff-2">lib/ctx.c</a></li>
<li><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#diff-3">lib/str.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 (+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/a29eee18b33b47539515d8438b782ad350483937#L0L3">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L0L4">4</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L0L5">5</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L0L6">6</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/a29eee18b33b47539515d8438b782ad350483937#L0L7">7</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/a29eee18b33b47539515d8438b782ad350483937#L0L8">8</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/a29eee18b33b47539515d8438b782ad350483937#L0L9">9</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/a29eee18b33b47539515d8438b782ad350483937#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/a29eee18b33b47539515d8438b782ad350483937#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/a29eee18b33b47539515d8438b782ad350483937#L0L12">12</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/a29eee18b33b47539515d8438b782ad350483937#L0R3">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L0R4">4</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L0R5">5</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L0R6">6</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/a29eee18b33b47539515d8438b782ad350483937#L0R7">7</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L0R8">8</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/a29eee18b33b47539515d8438b782ad350483937#L0R9">9</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#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/a29eee18b33b47539515d8438b782ad350483937#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/a29eee18b33b47539515d8438b782ad350483937#L0R12">12</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">@@ -4,9 +4,9 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">AC_CHECK_FUNCS(_stricmp)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> AC_CHECK_FUNCS(_strnicmp)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> AC_CHECK_FUNCS(_strtoui64)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> AC_CHECK_FUNCS(close)</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-AC_CHECK_FUNCS(gmtime_s)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+AC_CHECK_FUNCS(gmtime64_s)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> AC_CHECK_FUNCS(gmtime_r)</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-AC_CHECK_FUNCS(localtime_s)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+AC_CHECK_FUNCS(localtime64_s)</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>
</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 (+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/a29eee18b33b47539515d8438b782ad350483937#L1L140">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L1L141">141</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L1L142">142</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L1L143">143</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/a29eee18b33b47539515d8438b782ad350483937#L1L144">144</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/a29eee18b33b47539515d8438b782ad350483937#L1L145">145</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/a29eee18b33b47539515d8438b782ad350483937#L1L146">146</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/a29eee18b33b47539515d8438b782ad350483937#L1L147">147</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L1L148">148</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L1L149">149</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/a29eee18b33b47539515d8438b782ad350483937#L1R140">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L1R141">141</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L1R142">142</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L1R143">143</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/a29eee18b33b47539515d8438b782ad350483937#L1R144">144</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L1R145">145</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/a29eee18b33b47539515d8438b782ad350483937#L1R146">146</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L1R147">147</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L1R148">148</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L1R149">149</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">@@ -141,9 +141,9 @@</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #cmakedefine HAVE_CLOCK_GETTIME</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #cmakedefine HAVE_CLOSE</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #cmakedefine HAVE_FPCLASSIFY</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-#cmakedefine HAVE_GMTIME_S</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+#cmakedefine HAVE_GMTIME64_S</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #cmakedefine HAVE_GMTIME_R</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-#cmakedefine HAVE_LOCALTIME_S</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+#cmakedefine HAVE_LOCALTIME64_S</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>
</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/ctx.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/a29eee18b33b47539515d8438b782ad350483937#L2L133">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L2L134">134</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L2L135">135</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L2L136">136</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/a29eee18b33b47539515d8438b782ad350483937#L2L137">137</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/a29eee18b33b47539515d8438b782ad350483937#L2L138">138</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L2L139">139</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L2L140">140</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L2L141">141</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/a29eee18b33b47539515d8438b782ad350483937#L2L142">142</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/a29eee18b33b47539515d8438b782ad350483937#L2L143">143</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L2L144">144</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L2L145">145</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L2L149">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L2L150">150</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L2L151">151</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L2L152">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/a29eee18b33b47539515d8438b782ad350483937#L2L153">153</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/a29eee18b33b47539515d8438b782ad350483937#L2L154">154</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L2L155">155</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L2L156">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/a29eee18b33b47539515d8438b782ad350483937#L2R133">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L2R134">134</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L2R135">135</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L2R136">136</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/a29eee18b33b47539515d8438b782ad350483937#L2R137">137</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L2R138">138</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L2R139">139</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L2R140">140</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L2R141">141</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/a29eee18b33b47539515d8438b782ad350483937#L2R142">142</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L2R143">143</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L2R144">144</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L2R145">145</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L2R149">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L2R150">150</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L2R151">151</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L2R152">152</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/a29eee18b33b47539515d8438b782ad350483937#L2R153">153</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L2R154">154</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L2R155">155</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L2R156">156</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">@@ -134,12 +134,12 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">grn_timeval2str(grn_ctx *ctx, grn_timeval *tv, char *buf)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> struct tm *ltm;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> const char *function_name;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-#ifdef HAVE_LOCALTIME_S</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+#ifdef HAVE_LOCALTIME64_S</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> struct tm tm;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> time_t t = tv->tv_sec;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> function_name = "localtime_s";</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> ltm = (localtime_s(&tm, &t) == 0) ? &tm : NULL;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-#else /* HAVE_LOCALTIME_S */</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+#else /* HAVE_LOCALTIME64_S */</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # ifdef HAVE_LOCALTIME_R</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> struct tm tm;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> time_t t = tv->tv_sec;</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -150,7 +150,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">grn_timeval2str(grn_ctx *ctx, grn_timeval *tv, char *buf)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> function_name = "localtime";</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> ltm = localtime(&tvsec);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # endif /* HAVE_LOCALTIME_R */</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-#endif /* HAVE_LOCALTIME_S */</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+#endif /* HAVE_LOCALTIME64_S */</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (!ltm) { SERR(function_name); }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> snprintf(buf, GRN_TIMEVAL_STR_SIZE - 1, GRN_TIMEVAL_STR_FORMAT,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> ltm->tm_year + 1900, ltm->tm_mon + 1, ltm->tm_mday,</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/str.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/a29eee18b33b47539515d8438b782ad350483937#L3L2440">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L3L2441">2441</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L3L2442">2442</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L3L2443">2443</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/a29eee18b33b47539515d8438b782ad350483937#L3L2444">2444</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/a29eee18b33b47539515d8438b782ad350483937#L3L2445">2445</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L3L2446">2446</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L3L2447">2447</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/a29eee18b33b47539515d8438b782ad350483937#L3R2440">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L3R2441">2441</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L3R2442">2442</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L3R2443">2443</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/a29eee18b33b47539515d8438b782ad350483937#L3R2444">2444</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L3R2445">2445</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L3R2446">2446</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/a29eee18b33b47539515d8438b782ad350483937#L3R2447">2447</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">@@ -2441,7 +2441,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">grn_text_time2rfc1123(grn_ctx *ctx, grn_obj *bulk, int sec)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> time_t tsec;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> struct tm *t;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-#ifdef HAVE_GMTIME_S</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+#ifdef HAVE_GMTIME64_S</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> struct tm tm;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> tsec = (time_t)sec;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> t = (gmtime_s(&tm, &tsec) == 0) ? &tm : NULL;</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>