diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-04-26 19:42:42 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-04-26 19:42:42 +0200 |
commit | 6231cb8b5b208becf088531816027001acc754e5 (patch) | |
tree | 4bfec4c0fbdcf570cda14c8526f93878f7d36c80 | |
parent | 437905c25d4cedfa16d0f87392e4a000d22362b7 (diff) | |
download | vim-git-6231cb8b5b208becf088531816027001acc754e5.tar.gz |
patch 7.4.1790v7.4.1790
Problem: Leading white space in a job command matters. (Andrew Stewart)
Solution: Skip leading white space.
-rw-r--r-- | src/os_unix.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index 57eb05066..f2f2ca4c9 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -3940,7 +3940,7 @@ mch_parse_cmd(char_u *cmd, int use_shcf, char ***argv, int *argc) */ for (i = 0; i < 2; ++i) { - p = cmd; + p = skipwhite(cmd); inquote = FALSE; *argc = 0; for (;;) diff --git a/src/version.c b/src/version.c index 9f311ac39..cd760ab6c 100644 --- 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, |