summaryrefslogtreecommitdiff
path: root/src/os_unix.c
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 /src/os_unix.c
parent437905c25d4cedfa16d0f87392e4a000d22362b7 (diff)
downloadvim-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.
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c2
1 files changed, 1 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 (;;)