Skip to content

Commit fa6f2c2

Browse files
committed
fixup! Instead of creating Cygwin symlinks, use deep copy by default
I totally messed up converting `!isdevice ()` to `ondisk ()`, _inverting_ the logic (which obviously has _got_ to fail). Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 0700fc9 commit fa6f2c2

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.isondisk ())
2323+
if (src_path.isondisk ())
23242324
{
23252325
/* MSYS copy file instead make symlink */
23262326

0 commit comments

Comments
 (0)