Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
9008:943b4fdcb1b1 | 9009:149d976650a1 |
---|---|
3938 * 1: find number of arguments | 3938 * 1: find number of arguments |
3939 * 2: separate them and build argv[] | 3939 * 2: separate them and build argv[] |
3940 */ | 3940 */ |
3941 for (i = 0; i < 2; ++i) | 3941 for (i = 0; i < 2; ++i) |
3942 { | 3942 { |
3943 p = cmd; | 3943 p = skipwhite(cmd); |
3944 inquote = FALSE; | 3944 inquote = FALSE; |
3945 *argc = 0; | 3945 *argc = 0; |
3946 for (;;) | 3946 for (;;) |
3947 { | 3947 { |
3948 if (i == 1) | 3948 if (i == 1) |