From: Bram Moolenaar Date: Sat, 2 Sep 2006 15:54:18 +0000 (+0000) Subject: updated for version 7.0-081 X-Git-Tag: v7.0.081 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68c3174108bdc17c269128e15209c132046cf2c6;p=thirdparty%2Fvim.git updated for version 7.0-081 --- diff --git a/src/ex_getln.c b/src/ex_getln.c index ba3d114e1c..617c246146 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -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 diff --git a/src/version.c b/src/version.c index 718e91f501..114137492f 100644 --- a/src/version.c +++ b/src/version.c @@ -666,6 +666,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 81, /**/ 80, /**/