]> git.pld-linux.org Git - packages/vim.git/blame - 7.1.170
- updated to 7.1.285
[packages/vim.git] / 7.1.170
CommitLineData
d2415672
AG
1To: vim-dev@vim.org
2Subject: Patch 7.1.170
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.1.170
11Problem: Valgrind warning for overlapping arguments for strcpy().
12Solution: Use mch_memmove() instead. (Dominique Pelle)
13Files: src/getchar.c
14
15
16*** ../vim-7.1.169/src/getchar.c Thu Sep 13 18:25:08 2007
17--- src/getchar.c Mon Dec 3 20:42:29 2007
18***************
19*** 253,260 ****
20 return;
21 }
22 else if (buf->bh_index != 0)
23! STRCPY(buf->bh_first.b_next->b_str,
24! buf->bh_first.b_next->b_str + buf->bh_index);
25 buf->bh_index = 0;
26
27 if (buf->bh_space >= (int)slen)
28--- 253,261 ----
29 return;
30 }
31 else if (buf->bh_index != 0)
32! mch_memmove(buf->bh_first.b_next->b_str,
33! buf->bh_first.b_next->b_str + buf->bh_index,
34! STRLEN(buf->bh_first.b_next->b_str + buf->bh_index) + 1);
35 buf->bh_index = 0;
36
37 if (buf->bh_space >= (int)slen)
38*** ../vim-7.1.169/src/version.c Fri Dec 7 17:08:35 2007
39--- src/version.c Fri Dec 7 17:27:13 2007
40***************
41*** 668,669 ****
42--- 668,671 ----
43 { /* Add new patch number below this line */
44+ /**/
45+ 170,
46 /**/
47
48--
49Some of the well know MS-Windows errors:
50 ESLEEP Operator fell asleep
51 ENOERR No error yet
52 EDOLLAR OS too expensive
53 EWINDOWS MS-Windows loaded, system in danger
54
55 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
56/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
57\\\ download, build and distribute -- http://www.A-A-P.org ///
58 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.033764 seconds and 4 git commands to generate.