<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-legacy-support.
</pre>
<p><a href="https://github.com/macports/macports-legacy-support/commit/1fcc0e74d3cb4821266fb10451a5fa636250c297">https://github.com/macports/macports-legacy-support/commit/1fcc0e74d3cb4821266fb10451a5fa636250c297</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 1fcc0e7 dirfuncs_compat: Add comment regarding retention.
</span>1fcc0e7 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 1fcc0e74d3cb4821266fb10451a5fa636250c297
</span>Author: Fred Wright <fw@fwright.net>
AuthorDate: Fri Mar 8 20:09:27 2024 -0800
<span style='display:block; white-space:pre;color:#404040;'> dirfuncs_compat: Add comment regarding retention.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Also corrects typo in same comment.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Also corrects typo in unrelated comment in time.h.
</span>---
include/time.h | 2 +-
src/dirfuncs_compat.c | 8 +++++++-
2 files changed, 8 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/include/time.h b/include/time.h
</span><span style='display:block; white-space:pre;color:#808080;'>index 7f2e88a..af5e2ad 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/include/time.h
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/include/time.h
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -85,7 +85,7 @@ extern int clock_getres ( clockid_t clk_id, struct timespec *ts );
</span>
__MP__END_DECLS
<span style='display:block; white-space:pre;background:#ffe0e0;'>-#endif /* _MP_LEGACY_SUPPORT_GETTIME__ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif /* __MP_LEGACY_SUPPORT_GETTIME__ */
</span>
/* Legacy implementation of timespec */
#if __MP_LEGACY_SUPPORT_TIMESPEC_GET__
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/dirfuncs_compat.c b/src/dirfuncs_compat.c
</span><span style='display:block; white-space:pre;color:#808080;'>index 782f12a..c843467 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/dirfuncs_compat.c
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/dirfuncs_compat.c
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,7 +21,13 @@
</span> * wrapper calls. For compatibility, we continue to provide those functions,
* but just as transparent wrappers around the OS calls.
*
<span style='display:block; white-space:pre;background:#ffe0e0;'>- * This is only relevant for OS versions where our fdoopendir() is needed,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * These wrappers can eventually be removed once all dependents have been
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * rebuilt with the current headers. But since there would be significant
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * work in determining when this is the case, and since they only add 752
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * bytes to the library size, they should probably be left in place for a
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * long time.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * This is only relevant for OS versions where our fdopendir() is needed,
</span> * hence the conditional (which is the same conditional as was used for
* the earlier implementations).
*/
</pre><pre style='margin:0'>
</pre>