4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: strcpy() has overlapping arguments.
12 Solution: Use mch_memmove() instead. (Dominique Pelle)
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
21 /* move the cursor to the new line, like Vi */
22 ++curwin->w_cursor.lnum;
23 ! STRCPY(new_start, p1 + 1); /* copy the rest */
29 /* move the cursor to the new line, like Vi */
30 ++curwin->w_cursor.lnum;
32 ! mch_memmove(new_start, p1 + 1, STRLEN(p1 + 1) + 1);
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
41 { /* Add new patch number below this line */
47 hundred-and-one symptoms of being an internet addict:
48 125. You begin to wonder how often it REALLY is necessary to get up
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 ///