4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Compilation warnings for format in getchar.c.
12 Solution: Use fputs() instead of fprintf(). (Dominique Pelle)
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
21 if (mp->m_noremap != REMAP_YES && fprintf(fd, "nore") < 0)
23 ! if (fprintf(fd, cmd) < 0)
25 if (buf != NULL && fputs(" <buffer>", fd) < 0)
29 if (mp->m_noremap != REMAP_YES && fprintf(fd, "nore") < 0)
31 ! if (fputs(cmd, fd) < 0)
33 if (buf != NULL && fputs(" <buffer>", fd) < 0)
38 if (IS_SPECIAL(c) || modifiers) /* special key */
40 ! if (fprintf(fd, (char *)get_special_key_name(c, modifiers)) < 0)
46 if (IS_SPECIAL(c) || modifiers) /* special key */
48 ! if (fputs((char *)get_special_key_name(c, modifiers), fd) < 0)
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
57 { /* Add new patch number below this line */
63 Not too long ago, compress was something you did to garbage...
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 ///