From 1bbebab5255b5300d727c9b3f1b308205847dafd Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 29 May 2019 20:36:54 +0200 Subject: patch 8.1.1417: MS-Windows: resolve() does not resolve all components of path Problem: MS-Windows: resolve() does not resolve all components of the path. (David Briscoe) Solution: Do not bail out for a reparse point. (Yasuhiro Matsumoto, closes #4211, closes #4447) --- src/os_mswin.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/os_mswin.c') diff --git a/src/os_mswin.c b/src/os_mswin.c index 869c9a002..2b878f77c 100644 --- a/src/os_mswin.c +++ b/src/os_mswin.c @@ -1787,12 +1787,6 @@ resolve_reparse_point(char_u *fname) if (p == NULL) goto fail; - if ((GetFileAttributesW(p) & FILE_ATTRIBUTE_REPARSE_POINT) == 0) - { - vim_free(p); - goto fail; - } - h = CreateFileW(p, 0, 0, NULL, OPEN_EXISTING, FILE_FLAG_BACKUP_SEMANTICS, NULL); vim_free(p); -- cgit v1.2.1