diff src/os_unix.c @ 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 12392eb2923a
children 3aab62b76363
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 (;;)