[vim] 107/139: patch 7.4.1790 Problem: Leading white space in a job command matters. (Andrew Stewart) Solution: Skip leading white space.
James McCoy
jamessan at debian.org
Fri May 6 04:00:12 UTC 2016
This is an automated email from the git hooks/post-receive script.
jamessan pushed a commit to branch debian/sid
in repository vim.
commit 6231cb8b5b208becf088531816027001acc754e5
Author: Bram Moolenaar <Bram at 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.
---
src/os_unix.c | 2 +-
src/version.c | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/os_unix.c b/src/os_unix.c
index 57eb050..f2f2ca4 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 9f311ac..cd760ab 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,
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-vim/vim.git
More information about the pkg-vim-maintainers
mailing list