Skip to content

Commit

Permalink
Merge 0c22140 into d9914a0
Browse files Browse the repository at this point in the history
  • Loading branch information
tarruda committed Apr 3, 2014
2 parents d9914a0 + 0c22140 commit 193322f
Show file tree
Hide file tree
Showing 6 changed files with 357 additions and 16 deletions.
5 changes: 3 additions & 2 deletions src/misc2.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
#include "ui.h"
#include "window.h"
#include "os/os.h"
#include "os/shell.h"

static int coladvance2(pos_T *pos, int addspaces, int finetune,
colnr_T wcol);
Expand Down Expand Up @@ -1538,7 +1539,7 @@ int call_shell(char_u *cmd, ShellOpts opts, char_u *extra_shell_arg)
tag_freematch();

if (cmd == NULL || *p_sxq == NUL)
retval = mch_call_shell(cmd, opts, extra_shell_arg);
retval = os_call_shell(cmd, opts, extra_shell_arg);
else {
char_u *ecmd = cmd;

Expand All @@ -1556,7 +1557,7 @@ int call_shell(char_u *cmd, ShellOpts opts, char_u *extra_shell_arg)
STRCAT(ncmd, STRCMP(p_sxq, "(") == 0 ? (char_u *)")"
: STRCMP(p_sxq, "\"(") == 0 ? (char_u *)")\""
: p_sxq);
retval = mch_call_shell(ncmd, opts, extra_shell_arg);
retval = os_call_shell(ncmd, opts, extra_shell_arg);
vim_free(ncmd);
} else
retval = -1;
Expand Down

0 comments on commit 193322f

Please sign in to comment.