Dasn wrote:
> Hi, when compiling 7.2-1-173 on OpenBSD, I got:
>
> > if_cscope.c: In function `cs_create_connection':
> > if_cscope.c:997: warning: missing sentinel in function call
>
> Not a big problem, should be easy to fix:
>
> *** if_cscope.c 22 Apr 2009 14:25:01 -0000 1.36
> --- if_cscope.c 14 May 2009 23:07:54 -0000
> *************** err_closing:
> *** 994, 1000 ****
> vim_free(ppath);
>
> #if defined(UNIX)
> ! if (execl("/bin/sh", "sh", "-c", cmd, NULL) == -1)
> PERROR(_("cs_create_connection exec failed"));
>
> exit(127);
> --- 994, 1000 ----
> vim_free(ppath);
>
> #if defined(UNIX)
> ! if (execl("/bin/sh", "sh", "-c", cmd, (char *) NULL) == -1)
> PERROR(_("cs_create_connection exec failed"));
>
> exit(127);
Strange warning. But the fix shouldn't hurt anyone.
--
Another bucket of what can only be described as human ordure hits ARTHUR.
ARTHUR: ... Right! (to the KNIGHTS) That settles it!
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---