]>
Commit | Line | Data |
---|---|---|
ef75664d AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.1.265 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.1.265 | |
11 | Problem: When 'isfname' contains a space, cmdline completion can hang. | |
12 | (James Vega) | |
13 | Solution: Reset the "len" variable. | |
14 | Files: src/ex_docmd.c | |
15 | ||
16 | ||
17 | *** ../vim-7.1.264/src/ex_docmd.c Sat Jan 19 15:55:51 2008 | |
18 | --- src/ex_docmd.c Sun Feb 24 22:09:52 2008 | |
19 | *************** | |
20 | *** 3346,3351 **** | |
21 | --- 3346,3352 ---- | |
22 | #endif | |
23 | )) | |
24 | { | |
25 | + len = 0; /* avoid getting stuck when space is in 'isfname' */ | |
26 | while (*p != NUL) | |
27 | { | |
28 | #ifdef FEAT_MBYTE | |
29 | *** ../vim-7.1.264/src/version.c Mon Feb 25 21:54:23 2008 | |
30 | --- src/version.c Tue Feb 26 21:28:25 2008 | |
31 | *************** | |
32 | *** 668,669 **** | |
33 | --- 668,671 ---- | |
34 | { /* Add new patch number below this line */ | |
35 | + /**/ | |
36 | + 265, | |
37 | /**/ | |
38 | ||
39 | -- | |
40 | Q: What is a patch 22? | |
41 | A: A patch you need to include to make it possible to include patches. | |
42 | ||
43 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
44 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
45 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
46 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |