Patch 7.4.1461
Problem:    When starting job on MS-Windows all parts of the command are put
            in quotes.
Solution:   Only use quotes when needed. (Yasuhiro Matsumoto)
Files:      src/eval.c


*** ../vim-7.4.1460/src/eval.c  2016-02-28 19:28:55.073515550 +0100
--- src/eval.c  2016-02-29 21:05:10.128133162 +0100
***************
*** 15137,15143 ****
  #ifdef USE_ARGV
            argv[argc++] = (char *)s;
  #else
!           if (li != l->lv_first)
            {
                s = vim_strsave_shellescape(s, FALSE, TRUE);
                if (s == NULL)
--- 15137,15144 ----
  #ifdef USE_ARGV
            argv[argc++] = (char *)s;
  #else
!           /* Only escape when needed, double quotes are not always allowed. */
!           if (li != l->lv_first && vim_strpbrk(s, (char_u *)" \t\"") != NULL)
            {
                s = vim_strsave_shellescape(s, FALSE, TRUE);
                if (s == NULL)
*** ../vim-7.4.1460/src/version.c       2016-02-29 12:52:35.478910442 +0100
--- src/version.c       2016-02-29 21:01:47.018363080 +0100
***************
*** 745,746 ****
--- 745,748 ----
  {   /* Add new patch number below this line */
+ /**/
+     1461,
  /**/

-- 
How come wrong numbers are never busy?

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui