patch 8.1.0894: MS-Windows: resolve() does not return a reparse point
Problem: MS-Windows: resolve() does not return a reparse point.
Solution: Improve resolve(). (Yasuhiro Matsumoto, closes #3896)
diff --git a/src/buffer.c b/src/buffer.c
index e0b6164..7dd4d34 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -4847,7 +4847,7 @@
char_u *rfname;
// If the file name is a shortcut file, use the file it links to.
- rfname = mch_resolve_shortcut(*ffname);
+ rfname = mch_resolve_path(*ffname, FALSE);
if (rfname != NULL)
{
vim_free(*ffname);