We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents df4ca5f + ec4523a commit 05ca542Copy full SHA for 05ca542
compat/mingw.c
@@ -297,7 +297,7 @@ static enum phantom_symlink_result process_phantom_symlink(
297
return PHANTOM_SYMLINK_DONE;
298
299
/* let Windows resolve the link by opening it */
300
- hnd = CreateFileW(wlink, 0,
+ hnd = CreateFileW(wtarget, 0,
301
FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, NULL,
302
OPEN_EXISTING, FILE_FLAG_BACKUP_SEMANTICS, NULL);
303
if (hnd == INVALID_HANDLE_VALUE) {
0 commit comments