|
Karsten Hopp |
7636fa |
To: vim-dev@vim.org
|
|
Karsten Hopp |
7636fa |
Subject: Patch 7.1.265
|
|
Karsten Hopp |
7636fa |
Fcc: outbox
|
|
Karsten Hopp |
7636fa |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
7636fa |
Mime-Version: 1.0
|
|
Karsten Hopp |
7636fa |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
7636fa |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
7636fa |
------------
|
|
Karsten Hopp |
7636fa |
|
|
Karsten Hopp |
7636fa |
Patch 7.1.265
|
|
Karsten Hopp |
7636fa |
Problem: When 'isfname' contains a space, cmdline completion can hang.
|
|
Karsten Hopp |
7636fa |
(James Vega)
|
|
Karsten Hopp |
7636fa |
Solution: Reset the "len" variable.
|
|
Karsten Hopp |
7636fa |
Files: src/ex_docmd.c
|
|
Karsten Hopp |
7636fa |
|
|
Karsten Hopp |
7636fa |
|
|
Karsten Hopp |
7636fa |
*** ../vim-7.1.264/src/ex_docmd.c Sat Jan 19 15:55:51 2008
|
|
Karsten Hopp |
7636fa |
--- src/ex_docmd.c Sun Feb 24 22:09:52 2008
|
|
Karsten Hopp |
7636fa |
***************
|
|
Karsten Hopp |
7636fa |
*** 3346,3351 ****
|
|
Karsten Hopp |
7636fa |
--- 3346,3352 ----
|
|
Karsten Hopp |
7636fa |
#endif
|
|
Karsten Hopp |
7636fa |
))
|
|
Karsten Hopp |
7636fa |
{
|
|
Karsten Hopp |
7636fa |
+ len = 0; /* avoid getting stuck when space is in 'isfname' */
|
|
Karsten Hopp |
7636fa |
while (*p != NUL)
|
|
Karsten Hopp |
7636fa |
{
|
|
Karsten Hopp |
7636fa |
#ifdef FEAT_MBYTE
|
|
Karsten Hopp |
7636fa |
*** ../vim-7.1.264/src/version.c Mon Feb 25 21:54:23 2008
|
|
Karsten Hopp |
7636fa |
--- src/version.c Tue Feb 26 21:28:25 2008
|
|
Karsten Hopp |
7636fa |
***************
|
|
Karsten Hopp |
7636fa |
*** 668,669 ****
|
|
Karsten Hopp |
7636fa |
--- 668,671 ----
|
|
Karsten Hopp |
7636fa |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
7636fa |
+ /**/
|
|
Karsten Hopp |
7636fa |
+ 265,
|
|
Karsten Hopp |
7636fa |
/**/
|
|
Karsten Hopp |
7636fa |
|
|
Karsten Hopp |
7636fa |
--
|
|
Karsten Hopp |
7636fa |
Q: What is a patch 22?
|
|
Karsten Hopp |
7636fa |
A: A patch you need to include to make it possible to include patches.
|
|
Karsten Hopp |
7636fa |
|
|
Karsten Hopp |
7636fa |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
7636fa |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
7636fa |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
7636fa |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|