<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch release-2.11
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/0979b019a2b3772dfdbb2502d15b70755a93eccd">https://github.com/macports/macports-base/commit/0979b019a2b3772dfdbb2502d15b70755a93eccd</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 0979b019a2b3772dfdbb2502d15b70755a93eccd
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Fri Jul 11 18:01:06 2025 +1000
<span style='display:block; white-space:pre;color:#404040;'> xinstall: fix bad file descriptor error on 10.12
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/72680
</span><span style='display:block; white-space:pre;color:#404040;'> (cherry picked from commit 22a8d571ab9761ac38c90709f8d481e8d5416ae3)
</span>---
src/pextlib1.0/xinstall.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/pextlib1.0/xinstall.c b/src/pextlib1.0/xinstall.c
</span><span style='display:block; white-space:pre;color:#808080;'>index 2199a229c..4cebf5cd7 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/pextlib1.0/xinstall.c
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/pextlib1.0/xinstall.c
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -447,7 +447,7 @@ install(Tcl_Interp *interp, const char *from_name, const char *to_name, u_long f
</span> int devnull, files_match, from_fd = -1, serrno, target;
int tempcopy, temp_fd = -1, to_fd = -1;
char backup[MAXPATHLEN], *p, pathbuf[MAXPATHLEN], tempfile[MAXPATHLEN];
<span style='display:block; white-space:pre;background:#ffe0e0;'>-#ifdef HAVE_CLONEFILE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#if defined(HAVE_CLONEFILE) && defined(CLONE_NOOWNERCOPY)
</span> const int tryclone = 1;
#else
const int tryclone = 0;
</pre><pre style='margin:0'>
</pre>