]>
Commit | Line | Data |
---|---|---|
c6060300 MT |
1 | To: vim_dev@googlegroups.com |
2 | Subject: Patch 7.3.270 | |
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.3.270 | |
11 | Problem: Illegal memory access. | |
12 | Solution: Swap conditions. (Dominique Pelle) | |
13 | Files: src/ops.c | |
14 | ||
15 | ||
16 | *** ../vim-7.3.269/src/ops.c 2011-07-15 17:51:30.000000000 +0200 | |
17 | --- src/ops.c 2011-08-10 12:07:22.000000000 +0200 | |
18 | *************** | |
19 | *** 6311,6317 **** | |
20 | *wc += words; | |
21 | ||
22 | /* Add eol_size if the end of line was reached before hitting limit. */ | |
23 | ! if (line[i] == NUL && i < limit) | |
24 | { | |
25 | i += eol_size; | |
26 | chars += eol_size; | |
27 | --- 6311,6317 ---- | |
28 | *wc += words; | |
29 | ||
30 | /* Add eol_size if the end of line was reached before hitting limit. */ | |
31 | ! if (i < limit && line[i] == NUL) | |
32 | { | |
33 | i += eol_size; | |
34 | chars += eol_size; | |
35 | *** ../vim-7.3.269/src/version.c 2011-08-04 20:31:50.000000000 +0200 | |
36 | --- src/version.c 2011-08-10 12:09:30.000000000 +0200 | |
37 | *************** | |
38 | *** 711,712 **** | |
39 | --- 711,714 ---- | |
40 | { /* Add new patch number below this line */ | |
41 | + /**/ | |
42 | + 270, | |
43 | /**/ | |
44 | ||
45 | -- | |
46 | An indication you must be a manager: | |
47 | You give constructive feedback to your dog. | |
48 | ||
49 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
50 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
51 | \\\ an exciting new programming language -- http://www.Zimbu.org /// | |
52 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |