f061331
To: vim-dev@vim.org
f061331
Subject: Patch 7.2.043
f061331
Fcc: outbox
f061331
From: Bram Moolenaar <Bram@moolenaar.net>
f061331
Mime-Version: 1.0
f061331
Content-Type: text/plain; charset=ISO-8859-1
f061331
Content-Transfer-Encoding: 8bit
f061331
------------
f061331
f061331
Patch 7.2.043
f061331
Problem:    VMS: Too many characters are escaped in filename and shell
f061331
	    commands.
f061331
Solution:   Escape fewer characters. (Zoltan Arpadffy)
f061331
Files:	    src/vim.h
f061331
f061331
f061331
*** ../vim-7.2.042/src/vim.h	Sun Nov  9 13:43:25 2008
f061331
--- src/vim.h	Fri Nov 14 21:41:17 2008
f061331
***************
f061331
*** 341,348 ****
f061331
  #ifdef BACKSLASH_IN_FILENAME
f061331
  # define PATH_ESC_CHARS ((char_u *)" \t\n*?[{`%#'\"|!<")
f061331
  #else
f061331
! # define PATH_ESC_CHARS ((char_u *)" \t\n*?[{`$\\%#'\"|!<")
f061331
! # define SHELL_ESC_CHARS ((char_u *)" \t\n*?[{`$\\%#'\"|!<>();&")
f061331
  #endif
f061331
  
f061331
  #define NUMBUFLEN 30	    /* length of a buffer to store a number in ASCII */
f061331
--- 341,354 ----
f061331
  #ifdef BACKSLASH_IN_FILENAME
f061331
  # define PATH_ESC_CHARS ((char_u *)" \t\n*?[{`%#'\"|!<")
f061331
  #else
f061331
! # ifdef VMS
f061331
!     /* VMS allows a lot of characters in the file name */
f061331
! #  define PATH_ESC_CHARS ((char_u *)" \t\n*?{`\\%#'\"|!")
f061331
! #  define SHELL_ESC_CHARS ((char_u *)" \t\n*?{`\\%#'|!()&")
f061331
! # else
f061331
! #  define PATH_ESC_CHARS ((char_u *)" \t\n*?[{`$\\%#'\"|!<")
f061331
! #  define SHELL_ESC_CHARS ((char_u *)" \t\n*?[{`$\\%#'\"|!<>();&")
f061331
! # endif
f061331
  #endif
f061331
  
f061331
  #define NUMBUFLEN 30	    /* length of a buffer to store a number in ASCII */
f061331
***************
f061331
*** 370,376 ****
f061331
     * Define __w64 as an empty token for everything but MSVC 7.x or later.
f061331
     */
f061331
  # if !defined(_MSC_VER)	|| (_MSC_VER < 1300)
f061331
! #  define __w64 
f061331
  # endif
f061331
  typedef unsigned long __w64	long_u;
f061331
  typedef		 long __w64     long_i;
f061331
--- 376,382 ----
f061331
     * Define __w64 as an empty token for everything but MSVC 7.x or later.
f061331
     */
f061331
  # if !defined(_MSC_VER)	|| (_MSC_VER < 1300)
f061331
! #  define __w64
f061331
  # endif
f061331
  typedef unsigned long __w64	long_u;
f061331
  typedef		 long __w64     long_i;
f061331
*** ../vim-7.2.042/src/version.c	Sat Nov 15 16:05:30 2008
f061331
--- src/version.c	Thu Nov 20 10:23:51 2008
f061331
***************
f061331
*** 678,679 ****
f061331
--- 678,681 ----
f061331
  {   /* Add new patch number below this line */
f061331
+ /**/
f061331
+     43,
f061331
  /**/
f061331
f061331
-- 
f061331
In his lifetime van Gogh painted 486 oil paintings. Oddly enough, 8975
f061331
of them are to be found in the United States.
f061331
f061331
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
f061331
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
f061331
\\\        download, build and distribute -- http://www.A-A-P.org        ///
f061331
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///