To: vim-dev@vim.org Subject: Patch 6.1.432 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.432 (depends on 6.1.375) Problem: MS-Windows: ":make %:p" inserts extra backslashes. (David Rennalls) Solution: Don't add backslashes, handle it like ":!cmd". Files: src/ex_docmd.c *** ../vim61.431/src/ex_docmd.c Fri Mar 28 22:01:46 2003 --- src/ex_docmd.c Mon Mar 31 21:50:33 2003 *************** *** 3229,3235 **** * for shell commands (may have to use quotes instead). Don't do this * for non-unix systems when there is a single argument (spaces don't * separate arguments then). */ ! if (!eap->usefilter && eap->cmdidx != CMD_bang #ifndef UNIX && !(eap->argt & NOSPC) #endif --- 3229,3239 ---- * for shell commands (may have to use quotes instead). Don't do this * for non-unix systems when there is a single argument (spaces don't * separate arguments then). */ ! if (!eap->usefilter ! && eap->cmdidx != CMD_bang ! && eap->cmdidx != CMD_make ! && eap->cmdidx != CMD_grep ! && eap->cmdidx != CMD_grepadd #ifndef UNIX && !(eap->argt & NOSPC) #endif *** ../vim61.431/src/version.c Mon Mar 31 20:58:55 2003 --- src/version.c Mon Mar 31 21:56:17 2003 *************** *** 613,614 **** --- 613,616 ---- { /* Add new patch number below this line */ + /**/ + 432, /**/ -- This is an airconditioned room, do not open Windows. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\ \\\ Project leader for A-A-P -- http://www.A-A-P.org /// \\\ Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///