summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/if_cscope.c5
-rw-r--r--src/version.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/if_cscope.c b/src/if_cscope.c
index 809475039c..3252ff4916 100644
--- a/src/if_cscope.c
+++ b/src/if_cscope.c
@@ -954,7 +954,7 @@ err_closing:
// run the cscope command
#ifdef UNIX
- vim_snprintf(cmd, cmdlen, "/bin/sh -c \"exec %s -dl -f %s\"",
+ vim_snprintf(cmd, cmdlen, "/bin/sh -c \"exec %s -dl -f %s",
prog, csinfo[i].fname);
#else
vim_snprintf(cmd, cmdlen, "%s -dl -f %s", prog, csinfo[i].fname);
@@ -970,6 +970,9 @@ err_closing:
vim_snprintf(cmd + len, cmdlen - len, " %s", csinfo[i].flags);
}
# ifdef UNIX
+ // terminate the -c command argument
+ STRCAT(cmd, "\"");
+
// on Win32 we still need prog
vim_free(prog);
# endif
diff --git a/src/version.c b/src/version.c
index 467f8e0836..de1c5ce4cd 100644
--- a/src/version.c
+++ b/src/version.c
@@ -700,6 +700,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 743,
+/**/
742,
/**/
741,