To: vim-dev@vim.org Subject: Patch 6.1.426 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.426 Problem: "--remote-wait +cmd file" waits forever. (Valery Kondakoff) Solution: Don't wait for the "+cmd" argument to have been edited. Files: src/main.c *** ../vim61.425/src/main.c Sun Mar 9 15:13:49 2003 --- src/main.c Fri Mar 28 20:26:28 2003 *************** *** 2736,2742 **** --- 2736,2748 ---- NOTIFYICONDATA ni; int count = 0; extern HWND message_window; + # endif + if (numFiles > 0 && argv[i + 1][0] == '+') + /* Skip "+cmd" argument, don't wait for it to be edited. */ + --numFiles; + + # ifdef FEAT_GUI_W32 ni.cbSize = sizeof(ni); ni.hWnd = message_window; ni.uID = 0; *** ../vim61.425/src/version.c Mon Mar 31 20:13:21 2003 --- src/version.c Mon Mar 31 20:19:44 2003 *************** *** 613,614 **** --- 613,616 ---- { /* Add new patch number below this line */ + /**/ + 426, /**/ -- ARTHUR: Right! Knights! Forward! ARTHUR leads a charge toward the castle. Various shots of them battling on, despite being hit by a variety of farm animals. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// 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 ///