patch 7.4.767 v7.4.767
authorBram Moolenaar <Bram@vim.org>
Fri, 3 Jul 2015 11:33:01 +0000 (13:33 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 3 Jul 2015 11:33:01 +0000 (13:33 +0200)
Problem:    --remote-tab-silent can fail on MS-Windows.
Solution:   Use single quotes to avoid problems with backslashes. (Idea by
            Weiyong Mao)

src/main.c
src/version.c

index d9202c2e560a76e2e22df656604183aeb24ccd9b..abcf0c974eeac198e7a77b4f17746b64ec43d182 100644 (file)
@@ -4008,15 +4008,15 @@ build_drop_cmd(filec, filev, tabs, sendReply)
      *    if haslocaldir()
      *     cd -
      *      lcd -
-     *    elseif getcwd() ==# "current path"
+     *    elseif getcwd() ==# 'current path'
      *      cd -
      *    endif
      *  endif
      */
     ga_concat(&ga, (char_u *)":if !exists('+acd')||!&acd|if haslocaldir()|");
-    ga_concat(&ga, (char_u *)"cd -|lcd -|elseif getcwd() ==# \"");
+    ga_concat(&ga, (char_u *)"cd -|lcd -|elseif getcwd() ==# '");
     ga_concat(&ga, cdp);
-    ga_concat(&ga, (char_u *)"\"|cd -|endif|endif<CR>");
+    ga_concat(&ga, (char_u *)"'|cd -|endif|endif<CR>");
     vim_free(cdp);
 
     if (sendReply)
index ff024760bc64c46b220510660ca1efea4efa921c..709bf99a0a13ef5cad8e45d60467e65584d12b55 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    767,
 /**/
     766,
 /**/