]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
updated for version 7.0-081 v7.0.081
authorBram Moolenaar <Bram@vim.org>
Sat, 2 Sep 2006 15:54:18 +0000 (15:54 +0000)
committerBram Moolenaar <Bram@vim.org>
Sat, 2 Sep 2006 15:54:18 +0000 (15:54 +0000)
src/ex_getln.c
src/version.c

index ba3d114e1c309111044739a4ae6e5403050ab56b..617c246146ed5d52a770fb58ec6612310d4ec324 100644 (file)
@@ -4521,7 +4521,9 @@ expand_shellcmd(filepat, num_file, file, flagsarg)
     flags |= EW_FILE | EW_EXEC;
 
     /* For an absolute name we don't use $PATH. */
-    if ((pat[0] == '.' && (vim_ispathsep(pat[1])
+    if (mch_isFullName(pat))
+       path = (char_u *)" ";
+    else if ((pat[0] == '.' && (vim_ispathsep(pat[1])
                            || (pat[1] == '.' && vim_ispathsep(pat[2])))))
        path = (char_u *)".";
     else
@@ -4534,6 +4536,9 @@ expand_shellcmd(filepat, num_file, file, flagsarg)
     ga_init2(&ga, (int)sizeof(char *), 10);
     for (s = path; *s != NUL; s = e)
     {
+       if (*s == ' ')
+           ++s;        /* Skip space used for absolute path name. */
+
 #if defined(MSDOS) || defined(MSWIN) || defined(OS2)
        e = vim_strchr(s, ';');
 #else
index 718e91f5018895ff5a3fa1a9e9d81d5d01d793aa..114137492fe66d86ae5ff466fa658c767b386ef9 100644 (file)
@@ -666,6 +666,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    81,
 /**/
     80,
 /**/