Patch 7.4.1462
Problem: Two more rarily used functions with errors.
Solution: Add proper argument types. (Dominique Pelle)
Files: src/misc2.c, src/termlib.c
*** ../vim-7.4.1461/src/misc2.c 2016-02-23 14:52:31.885232171 +0100
--- src/misc2.c 2016-02-29 21:17:47.323872879 +0100
***************
*** 1729,1741 ****
}
#endif
#ifdef VIM_MEMMOVE
/*
* Version of memmove() that handles overlapping source and destination.
* For systems that don't have a function that is guaranteed to do that
(SYSV).
*/
void
! mch_memmove(void *src_arg, *dst_arg, size_t len)
{
/*
* A void doesn't have a size, we use char pointers.
--- 1729,1742 ----
}
#endif
+ /* skipped when generating prototypes, the prototype is in vim.h */
#ifdef VIM_MEMMOVE
/*
* Version of memmove() that handles overlapping source and destination.
* For systems that don't have a function that is guaranteed to do that
(SYSV).
*/
void
! mch_memmove(void *src_arg, void *dst_arg, size_t len)
{
/*
* A void doesn't have a size, we use char pointers.
*** ../vim-7.4.1461/src/termlib.c 2016-01-30 21:10:05.005342537 +0100
--- src/termlib.c 2016-02-29 21:19:39.050684931 +0100
***************
*** 140,146 ****
}
static int
! getent(char *tbuf, *term, FILE *termcap, int buflen)
{
char *tptr;
int tlen = strlen(term);
--- 140,146 ----
}
static int
! getent(char *tbuf, char *term, FILE *termcap, int buflen)
{
char *tptr;
int tlen = strlen(term);
*** ../vim-7.4.1461/src/version.c 2016-02-29 21:05:43.539766722 +0100
--- src/version.c 2016-02-29 21:18:37.735336853 +0100
***************
*** 745,746 ****
--- 745,748 ----
{ /* Add new patch number below this line */
+ /**/
+ 1462,
/**/
--
System administrators are just like women: You can't live with them and you
can't live without them.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.