To: vim-dev@vim.org Subject: Patch 6.1.249 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.249 Problem: Can't expand a path on the command line if it includes a "|" as a trail byte of a multi-byte character. Solution: Check for multi-byte characters. (Yasuhiro Matsumoto) Files: src/ex_docmd.c *** ../vim61.248/src/ex_docmd.c Tue Oct 29 19:53:25 2002 --- src/ex_docmd.c Thu Nov 7 21:17:23 2002 *************** *** 2428,2434 **** return NULL; /* It's a comment */ } } ! ++p; } } --- 2430,2441 ---- return NULL; /* It's a comment */ } } ! #ifdef FEAT_MBYTE ! if (has_mbyte) ! p += (*mb_ptr2len_check)(p); ! else ! #endif ! ++p; } } *** ../vim61.248/src/version.c Wed Nov 6 21:01:13 2002 --- src/version.c Thu Nov 7 21:18:50 2002 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 249, /**/ -- Team-building exercises come in many forms but they all trace their roots back to the prison system. In your typical team-building exercise the employees are subjected to a variety of unpleasant situations until they become either a cohesive team or a ring of car jackers. (Scott Adams - The Dilbert principle) /// 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 /// \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///