summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-04-26 19:42:42 +0200
committerBram Moolenaar <Bram@vim.org>2016-04-26 19:42:42 +0200
commit6231cb8b5b208becf088531816027001acc754e5 (patch)
tree4bfec4c0fbdcf570cda14c8526f93878f7d36c80
parent437905c25d4cedfa16d0f87392e4a000d22362b7 (diff)
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.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 57eb050660..f2f2ca4c9a 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 9f311ac392..cd760ab6ca 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,