]>
Commit | Line | Data |
---|---|---|
1c082d99 AM |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 6.3.079 | |
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 6.3.079 | |
11 | Problem: Crash when executing a command in the command line window while | |
12 | syntax highlighting is enabled. (Pero Brbora) | |
13 | Solution: Don't use a pointer to a buffer that has been deleted. | |
14 | Files: src/syntax.c | |
15 | ||
16 | ||
17 | *** ../vim-6.3.078/src/syntax.c Tue May 31 21:30:24 2005 | |
18 | --- src/syntax.c Fri Jul 1 11:12:05 2005 | |
19 | *************** | |
20 | *** 1158,1164 **** | |
21 | prev = NULL; | |
22 | for (p = buf->b_sst_first; p != NULL; ) | |
23 | { | |
24 | ! if (p->sst_lnum + syn_buf->b_syn_sync_linebreaks > buf->b_mod_top) | |
25 | { | |
26 | n = p->sst_lnum + buf->b_mod_xlines; | |
27 | if (n <= buf->b_mod_bot) | |
28 | --- 1158,1164 ---- | |
29 | prev = NULL; | |
30 | for (p = buf->b_sst_first; p != NULL; ) | |
31 | { | |
32 | ! if (p->sst_lnum + buf->b_syn_sync_linebreaks > buf->b_mod_top) | |
33 | { | |
34 | n = p->sst_lnum + buf->b_mod_xlines; | |
35 | if (n <= buf->b_mod_bot) | |
36 | *** ../vim-6.3.078/src/version.c Tue Jun 14 19:08:07 2005 | |
37 | --- src/version.c Fri Jul 1 11:20:27 2005 | |
38 | *************** | |
39 | *** 643,644 **** | |
40 | --- 643,646 ---- | |
41 | { /* Add new patch number below this line */ | |
42 | + /**/ | |
43 | + 79, | |
44 | /**/ | |
45 | ||
46 | -- | |
47 | Some of the well know MS-Windows errors: | |
48 | EMEMORY Memory error caused by..., eh... | |
49 | ELICENSE Your license has expired, give us more money! | |
50 | EMOUSE Mouse moved, reinstall Windows | |
51 | EILLEGAL Illegal error, you are not allowed to see this | |
52 | EVIRUS Undetectable virus found | |
53 | ||
54 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
55 | /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
56 | \\\ Project leader for A-A-P -- http://www.A-A-P.org /// | |
57 | \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html /// |