changeset 1054:99ccc8932b6c v7.0.180

updated for version 7.0-180
author vimboss
date Tue, 09 Jan 2007 14:09:25 +0000
parents f8f35d8208e6
children ef6b11bee7d0
files runtime/menu.vim src/globals.h src/memline.c src/os_unix.c src/version.c
diffstat 5 files changed, 7 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/menu.vim
+++ b/runtime/menu.vim
@@ -384,7 +384,7 @@ endif
 " Programming menu
 if !exists("g:ctags_command")
   if has("vms")
-    let g:ctags_command = "mc vim:ctags ."
+    let g:ctags_command = "mc vim:ctags *.*"
   else
     let g:ctags_command = "ctags -R ."
   endif
--- a/src/globals.h
+++ b/src/globals.h
@@ -1092,6 +1092,7 @@ extern char_u *all_cflags;
 extern char_u *all_lflags;
 # ifdef VMS
 extern char_u *compiler_version;
+extern char_u *compiled_arch;
 # endif
 extern char_u *compiled_user;
 extern char_u *compiled_sys;
--- a/src/memline.c
+++ b/src/memline.c
@@ -3572,8 +3572,9 @@ makeswapname(fname, ffname, buf, dir_nam
 #else
 	    (buf->b_p_sn || buf->b_shortname),
 #endif
-#ifdef RISCOS
-	    /* Avoid problems if fname has special chars, eg <Wimp$Scrap> */
+#if defined(VMS) || defined(RISCOS)
+	    /* Avoid problems if fname has special chars, eg <Wimp$Scrap>.
+	     * For VMS always use full path for swapfile. */
 	    ffname,
 #else
 # ifdef HAVE_READLINK
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -2221,7 +2221,6 @@ mch_FullName(fname, buf, len, force)
      * behaviour should be avoided for the existing files and we need to find
      * the exact path of the edited file.
      */
-    if (force || !mch_isFullName(fname))
     {
 	char_u	*fixed_fname = vms_fixfilename(fname);
 	int	fd = mch_open((char *)fixed_fname, O_RDONLY | O_EXTRA, 0);
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    180,
+/**/
     179,
 /**/
     178,