Dominique wrote: > Ken Takata <[email protected]> wrote: > > > Hi Bram, > > > > 2016/1/31 Sun 4:31:47 UTC+9 Bram Moolenaar wrote: > >> Patch 7.4.1213 > >> Problem: Using old style function declarations. > >> Solution: Change to new style function declarations. (script by Hirohito > >> Higashi) > >> Files: src/os_amiga.c, src/os_mac_conv.c, src/os_msdos.d, > >> src/os_mswin.c, > >> src/os_qnx.c, src/os_unix.c, src/os_vms.c, src/os_win16.c, > >> src/os_win32.c, src/popupmnu.c, src/pty.c, src/quickfix.c, > >> src/regexp.c, src/regexp_nfa.c, src/screen.c > > > > I found a syntax error in this patch. > > The following patch fixes it: > > > > --- a/src/os_unix.c > > +++ b/src/os_unix.c > > @@ -6461,7 +6461,7 @@ have_dollars(int num, char_u **file) > > * destination exists. > > */ > > int > > -mch_rename(const char *src, *dest) > > +mch_rename(const char *src, const char *dest) > > { > > struct stat st; > > > > > > Good catch. I see 2 more similar syntax errors > for mch_memmove(...) and getent(...). > Fixed in attached patch.
Thanks! -- It might look like I'm doing nothing, but at the cellular level I'm really quite busy. /// 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.
