diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-03-06 19:22:53 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-03-06 19:22:53 +0000 |
commit | 38323e4f4a34b64e19579f4ea104561cc620054c (patch) | |
tree | dcf290e096f4339448e47f737138e33a7445da0e /src/buffer.c | |
parent | 81b85876add936231a832044e0e2f9d7efa3808d (diff) | |
download | vim-git-38323e4f4a34b64e19579f4ea104561cc620054c.tar.gz |
updated for version 7.0-208v7.0.208
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/buffer.c b/src/buffer.c index adc70fe59..4049f711b 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -4145,13 +4145,11 @@ 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". */ -#if defined(UNIX) || defined(VMS) +#ifdef UNIX return FullName_save(fname, TRUE); #else if (!vim_isAbsName(fname) || strstr((char *)fname, "..") != NULL |