summaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-11-28 16:43:58 +0000
committerBram Moolenaar <Bram@vim.org>2006-11-28 16:43:58 +0000
commit3d20ca1ad143b900c5f2628442ae8436c2f9673f (patch)
tree1396962bad86391e8750d729e573eacab4a36a6a /src/buffer.c
parent85f868c3ae5dafae004d41435fde01f529fea635 (diff)
updated for version 7.0-171v7.0.171
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 4049f711b6..adc70fe59d 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -4145,11 +4145,13 @@ fix_fname(fname)
/*
* Force expanding the path always for Unix, because symbolic links may
* mess up the full path name, even though it starts with a '/'.
+ * Also expand always for VMS, it may have alternate paths that need to be
+ * resolved.
* Also expand when there is ".." in the file name, try to remove it,
* because "c:/src/../README" is equal to "c:/README".
* For MS-Windows also expand names like "longna~1" to "longname".
*/
-#ifdef UNIX
+#if defined(UNIX) || defined(VMS)
return FullName_save(fname, TRUE);
#else
if (!vim_isAbsName(fname) || strstr((char *)fname, "..") != NULL