1
0
forked from aniani/vim

updated for version 7.0e06

This commit is contained in:
Bram Moolenaar
2006-04-22 22:33:57 +00:00
parent 57657d85c6
commit eb3593b38b
49 changed files with 729 additions and 365 deletions

View File

@@ -3602,7 +3602,7 @@ mch_call_shell(cmd, options)
*p++ = NUL;
p = skipwhite(p);
}
if (i == 0)
if (argv == NULL)
{
argv = (char **)alloc((unsigned)((argc + 4) * sizeof(char *)));
if (argv == NULL) /* out of memory */