]> git.pld-linux.org Git - packages/vim.git/blame - 7.1.159
- updated to 0.7.5
[packages/vim.git] / 7.1.159
CommitLineData
e98ed9b1
ER
1To: vim-dev@vim.org
2Subject: Patch 7.1.159
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.159
11Problem: strcpy() has overlapping arguments.
12Solution: Use mch_memmove() instead. (Dominique Pelle)
13Files: src/ex_cmds.c
14
15
16*** ../vim-7.1.158/src/ex_cmds.c Thu Nov 8 20:47:34 2007
17--- src/ex_cmds.c Sun Nov 18 14:11:58 2007
18***************
19*** 4885,4891 ****
20 ++line2;
21 /* move the cursor to the new line, like Vi */
22 ++curwin->w_cursor.lnum;
23! STRCPY(new_start, p1 + 1); /* copy the rest */
24 p1 = new_start - 1;
25 }
26 }
27--- 4885,4892 ----
28 ++line2;
29 /* move the cursor to the new line, like Vi */
30 ++curwin->w_cursor.lnum;
31! /* copy the rest */
32! mch_memmove(new_start, p1 + 1, STRLEN(p1 + 1) + 1);
33 p1 = new_start - 1;
34 }
35 }
36*** ../vim-7.1.158/src/version.c Tue Nov 20 17:21:28 2007
37--- src/version.c Tue Nov 20 18:01:45 2007
38***************
39*** 668,669 ****
40--- 668,671 ----
41 { /* Add new patch number below this line */
42+ /**/
43+ 159,
44 /**/
45
46--
47hundred-and-one symptoms of being an internet addict:
48125. You begin to wonder how often it REALLY is necessary to get up
49 and shower or bathe.
50
51 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
52/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
53\\\ download, build and distribute -- http://www.A-A-P.org ///
54 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.062168 seconds and 4 git commands to generate.