| To: vim_dev@googlegroups.com |
| Subject: Patch 7.4.767 |
| Fcc: outbox |
| From: Bram Moolenaar <Bram@moolenaar.net> |
| Mime-Version: 1.0 |
| Content-Type: text/plain; charset=UTF-8 |
| Content-Transfer-Encoding: 8bit |
| |
| |
| Patch 7.4.767 |
| Problem: --remote-tab-silent can fail on MS-Windows. |
| Solution: Use single quotes to avoid problems with backslashes. (Idea by |
| Weiyong Mao) |
| Files: src/main.c |
| |
| |
| |
| |
| |
| *** 4008,4022 **** |
| * if haslocaldir() |
| * cd - |
| * lcd - |
| ! * 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, cdp); |
| ! ga_concat(&ga, (char_u *)"\"|cd -|endif|endif<CR>"); |
| vim_free(cdp); |
| |
| if (sendReply) |
| --- 4008,4022 ---- |
| * if haslocaldir() |
| * cd - |
| * lcd - |
| ! * 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, cdp); |
| ! ga_concat(&ga, (char_u *)"'|cd -|endif|endif<CR>"); |
| vim_free(cdp); |
| |
| if (sendReply) |
| |
| |
| |
| *** 743,744 **** |
| --- 743,746 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 767, |
| /**/ |
| |
| -- |
| hundred-and-one symptoms of being an internet addict: |
| 173. You keep tracking down the email addresses of all your friends |
| (even childhood friends). |
| |
| /// Bram Moolenaar -- Bram@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 /// |