[openssh-commits] [openssh] 04/07: Tell Cygwin to use native symlinks.

git+noreply at mindrot.org git+noreply at mindrot.org
Sat May 10 22:19:39 AEST 2025


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit d1b28639c1cb382943bd92c68992ea74af9b5773
Author: Darren Tucker <dtucker at dtucker.net>
AuthorDate: Sat May 10 08:52:11 2025 +1000

    Tell Cygwin to use native symlinks.
---
 .github/setup_ci.sh         | 2 +-
 .github/workflows/c-cpp.yml | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/setup_ci.sh b/.github/setup_ci.sh
index 81cdc1368..356823bc6 100755
--- a/.github/setup_ci.sh
+++ b/.github/setup_ci.sh
@@ -10,7 +10,7 @@ case "$host" in
 *cygwin)
 	PACKAGER=setup
 	echo Setting CYGWIN system environment variable.
-	setx CYGWIN "binmode"
+	setx CYGWIN "binmode winsymlinks:native"
 	echo Removing extended ACLs so umask works as expected.
 	set -x
 	setfacl -b . regress
diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml
index 0807ae851..8c0e0a91b 100644
--- a/.github/workflows/c-cpp.yml
+++ b/.github/workflows/c-cpp.yml
@@ -124,6 +124,8 @@ jobs:
       id: cygwin_install
       if: ${{ startsWith(matrix.target, 'windows') }}
       uses: cygwin/cygwin-install-action at master
+      env:
+        CYGWIN: "binmode winsymlinks:native"
     - uses: actions/checkout at main
     - name: setup CI system
       run: sh ./.github/setup_ci.sh ${{ matrix.config }}

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list