]> git.pld-linux.org Git - packages/vim.git/blame - 7.1.037
- typo
[packages/vim.git] / 7.1.037
CommitLineData
6577e359 1To: vim-dev@vim.org
2Subject: patch 7.1.037
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.037
11Problem: strcpy() used for overlapping strings. (Chris Monson)
12Solution: Use mch_memmove() instead.
13Files: src/option.c
14
15
16*** ../vim-7.1.036/src/option.c Tue Jul 24 09:50:22 2007
17--- src/option.c Sun Jul 22 16:42:47 2007
18***************
19*** 4628,4634 ****
20 if ((!(flags & P_COMMA) || *s != ',')
21 && vim_strchr(s + 1, *s) != NULL)
22 {
23! STRCPY(s, s + 1);
24 --s;
25 }
26 }
27--- 4628,4634 ----
28 if ((!(flags & P_COMMA) || *s != ',')
29 && vim_strchr(s + 1, *s) != NULL)
30 {
31! mch_memmove(s, s + 1, STRLEN(s));
32 --s;
33 }
34 }
35*** ../vim-7.1.036/src/version.c Tue Jul 24 14:32:44 2007
36--- src/version.c Tue Jul 24 14:56:03 2007
37***************
38*** 668,669 ****
39--- 668,671 ----
40 { /* Add new patch number below this line */
41+ /**/
42+ 37,
43 /**/
44
45--
46This planet has -- or rather had -- a problem, which was this: most
47of the people living on it were unhappy for pretty much of the time.
48Many solutions were suggested for this problem, but most of these
49were largely concerned with the movements of small green pieces of
50paper, which is odd because on the whole it wasn't the small green
51pieces of paper that were unhappy.
52 -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
53
54 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
55/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
56\\\ download, build and distribute -- http://www.A-A-P.org ///
57 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.068724 seconds and 4 git commands to generate.