Skip to content

Commit 8955d23

Browse files
committed
fixup! Instead of creating Cygwin symlinks, use deep copy by default
According to 002aad0 (Cygwin: path_conv: simplify, rearrange, rename combined device checks, 2025-01-21), the `isdevice()` method was dropped in favor of the `isondisk()` method. Let's use that instead. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 7da06fd commit 8955d23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

winsup/cygwin/path.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2320,7 +2320,7 @@ symlink_worker (const char *oldpath, path_conv &win32_newpath, bool isdevice)
23202320
set_errno (src_path.error);
23212321
__leave;
23222322
}
2323-
if (!src_path.isdevice () && !src_path.is_fs_special ())
2323+
if (!src_path.isondisk () && !src_path.is_fs_special ())
23242324
{
23252325
/* MSYS copy file instead make symlink */
23262326

0 commit comments

Comments
 (0)