Make extra_shell_arg a mch_call_shell parameter

This commit is contained in:
Thiago de Arruda
2014-03-29 12:53:11 -03:00
parent 8a61c27b1e
commit c791922224
8 changed files with 15 additions and 16 deletions

View File

@@ -840,7 +840,7 @@ static void diff_file(char_u *tmp_orig, char_u *tmp_new, char_u *tmp_diff)
tmp_orig, tmp_new);
append_redir(cmd, (int)len, p_srr, tmp_diff);
block_autocmds(); /* Avoid ShellCmdPost stuff */
(void)call_shell(cmd, SHELL_FILTER | SHELL_SILENT | SHELL_DOOUT);
(void)call_shell(cmd, SHELL_FILTER | SHELL_SILENT | SHELL_DOOUT, NULL);
unblock_autocmds();
vim_free(cmd);
}
@@ -943,7 +943,7 @@ void ex_diffpatch(exarg_T *eap)
#endif // ifdef UNIX
// Avoid ShellCmdPost stuff
block_autocmds();
(void)call_shell(buf, SHELL_FILTER | SHELL_COOKED);
(void)call_shell(buf, SHELL_FILTER | SHELL_COOKED, NULL);
unblock_autocmds();
}