]>
Commit | Line | Data |
---|---|---|
d2415672 AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.1.198 | |
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.198 | |
11 | Problem: Hang when using ":s/\n//gn". (Burak Gorkemli) | |
12 | Solution: Set "skip_match". | |
13 | Files: src/ex_cmds.c | |
14 | ||
15 | ||
16 | *** ../vim-7.1.197/src/ex_cmds.c Wed Jan 2 13:58:17 2008 | |
17 | --- src/ex_cmds.c Fri Jan 4 14:46:34 2008 | |
18 | *************** | |
19 | *** 4575,4580 **** | |
20 | --- 4575,4581 ---- | |
21 | { | |
22 | matchcol = (colnr_T)STRLEN(sub_firstline); | |
23 | nmatch = 1; | |
24 | + skip_match = TRUE; | |
25 | } | |
26 | sub_nsubs++; | |
27 | did_sub = TRUE; | |
28 | *** ../vim-7.1.197/src/version.c Fri Jan 4 11:54:11 2008 | |
29 | --- src/version.c Fri Jan 4 14:52:09 2008 | |
30 | *************** | |
31 | *** 668,669 **** | |
32 | --- 668,671 ---- | |
33 | { /* Add new patch number below this line */ | |
34 | + /**/ | |
35 | + 198, | |
36 | /**/ | |
37 | ||
38 | -- | |
39 | [clop clop] | |
40 | ARTHUR: Old woman! | |
41 | DENNIS: Man! | |
42 | ARTHUR: Man, sorry. What knight lives in that castle over there? | |
43 | DENNIS: I'm thirty seven. | |
44 | ARTHUR: What? | |
45 | DENNIS: I'm thirty seven -- I'm not old! | |
46 | The Quest for the Holy Grail (Monty Python) | |
47 | ||
48 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
49 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
50 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
51 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |