From d6f33e5702de512f1ce46c6047837eeb4bed99dc Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Sun, 26 Jan 2025 21:30:28 +0100 Subject: [PATCH] TEST Signed-off-by: Johannes Schindelin --- winsup/cygwin/path.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index 73ab38bd13..1ee94e63af 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -2345,7 +2345,7 @@ symlink_worker (const char *oldpath, path_conv &win32_newpath, bool isdevice) set_errno (src_path.error); __leave; } - if (!src_path.isondisk ()) + if (src_path.isondisk ()) { /* MSYS copy file instead make symlink */