]> git.pld-linux.org Git - packages/vim.git/blame - 7.2.054
- new
[packages/vim.git] / 7.2.054
CommitLineData
65bfde4c
AG
1To: vim-dev@vim.org
2Subject: Patch 7.2.054
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.2.054
11Problem: Compilation warnings for format in getchar.c.
12Solution: Use fputs() instead of fprintf(). (Dominique Pelle)
13Files: src/getchar.c
14
15
16*** ../vim-7.2.053/src/getchar.c Tue Jul 22 18:58:23 2008
17--- src/getchar.c Thu Nov 27 22:38:24 2008
18***************
19*** 4702,4708 ****
20 return FAIL;
21 if (mp->m_noremap != REMAP_YES && fprintf(fd, "nore") < 0)
22 return FAIL;
23! if (fprintf(fd, cmd) < 0)
24 return FAIL;
25 if (buf != NULL && fputs(" <buffer>", fd) < 0)
26 return FAIL;
27--- 4702,4708 ----
28 return FAIL;
29 if (mp->m_noremap != REMAP_YES && fprintf(fd, "nore") < 0)
30 return FAIL;
31! if (fputs(cmd, fd) < 0)
32 return FAIL;
33 if (buf != NULL && fputs(" <buffer>", fd) < 0)
34 return FAIL;
35***************
36*** 4801,4807 ****
37 }
38 if (IS_SPECIAL(c) || modifiers) /* special key */
39 {
40! if (fprintf(fd, (char *)get_special_key_name(c, modifiers)) < 0)
41 return FAIL;
42 continue;
43 }
44--- 4801,4807 ----
45 }
46 if (IS_SPECIAL(c) || modifiers) /* special key */
47 {
48! if (fputs((char *)get_special_key_name(c, modifiers), fd) < 0)
49 return FAIL;
50 continue;
51 }
52*** ../vim-7.2.053/src/version.c Fri Nov 28 11:47:14 2008
53--- src/version.c Fri Nov 28 12:02:48 2008
54***************
55*** 678,679 ****
56--- 678,681 ----
57 { /* Add new patch number below this line */
58+ /**/
59+ 54,
60 /**/
61
62--
63Not too long ago, compress was something you did to garbage...
64
65 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
66/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
67\\\ download, build and distribute -- http://www.A-A-P.org ///
68 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.030979 seconds and 4 git commands to generate.