]>
Commit | Line | Data |
---|---|---|
eafbe892 AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.2.298 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=UTF-8 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.2.298 | |
11 | Problem: ":vimgrep" crashes when there is an autocommand that sets a | |
12 | window-local variable. | |
13 | Solution: Initialize the w: hashtab for re-use. (Yukihiro Nakadaira) | |
14 | Files: src/fileio.c | |
15 | ||
16 | ||
17 | *** ../vim-7.2.297/src/fileio.c 2009-11-17 12:08:48.000000000 +0100 | |
18 | --- src/fileio.c 2009-11-17 13:22:06.000000000 +0100 | |
19 | *************** | |
20 | *** 8597,8602 **** | |
21 | --- 8605,8611 ---- | |
22 | curwin = firstwin; | |
23 | # ifdef FEAT_EVAL | |
24 | vars_clear(&aucmd_win->w_vars.dv_hashtab); /* free all w: variables */ | |
25 | + hash_init(&aucmd_win->w_vars.dv_hashtab); /* re-use the hashtab */ | |
26 | # endif | |
27 | #else | |
28 | curwin = aco->save_curwin; | |
29 | *** ../vim-7.2.297/src/version.c 2009-11-17 12:43:19.000000000 +0100 | |
30 | --- src/version.c 2009-11-17 14:56:19.000000000 +0100 | |
31 | *************** | |
32 | *** 683,684 **** | |
33 | --- 683,686 ---- | |
34 | { /* Add new patch number below this line */ | |
35 | + /**/ | |
36 | + 298, | |
37 | /**/ | |
38 | ||
39 | -- | |
40 | Eye have a spelling checker, it came with my PC; | |
41 | It plainly marks four my revue mistakes I cannot sea. | |
42 | I've run this poem threw it, I'm sure your please to no, | |
43 | It's letter perfect in it's weigh, my checker tolled me sew! | |
44 | ||
45 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
46 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
47 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
48 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |