changeset 9009:149d976650a1 v7.4.1790

commit https://github.com/vim/vim/commit/6231cb8b5b208becf088531816027001acc754e5 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Apr 26 19:42:42 2016 +0200 patch 7.4.1790 Problem: Leading white space in a job command matters. (Andrew Stewart) Solution: Skip leading white space.
author Christian Brabandt <cb@256bit.org>
date Tue, 26 Apr 2016 19:45:05 +0200
parents 943b4fdcb1b1
children 4e61ef434a1e
files src/os_unix.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -3940,7 +3940,7 @@ mch_parse_cmd(char_u *cmd, int use_shcf,
      */
     for (i = 0; i < 2; ++i)
     {
-	p = cmd;
+	p = skipwhite(cmd);
 	inquote = FALSE;
 	*argc = 0;
 	for (;;)
--- a/src/version.c
+++ b/src/version.c
@@ -754,6 +754,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1790,
+/**/
     1789,
 /**/
     1788,