mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.1.1514: MS-Windows: wrong shell command with ! in 'guioptions'
Problem: MS-Windows: wrong shell command with ! in 'guioptions'. Solution: Do not check for ! in 'guioptions' when applying 'shellxquote'. (Yasuhiro Matsumoto, closes #4519)
This commit is contained in:
10
src/misc2.c
10
src/misc2.c
@@ -3251,15 +3251,7 @@ call_shell(char_u *cmd, int opt)
|
|||||||
/* The external command may update a tags file, clear cached tags. */
|
/* The external command may update a tags file, clear cached tags. */
|
||||||
tag_freematch();
|
tag_freematch();
|
||||||
|
|
||||||
if (cmd == NULL || *p_sxq == NUL
|
if (cmd == NULL || *p_sxq == NUL)
|
||||||
#if defined(FEAT_GUI_MSWIN) && defined(FEAT_TERMINAL)
|
|
||||||
|| (
|
|
||||||
# ifdef VIMDLL
|
|
||||||
gui.in_use &&
|
|
||||||
# endif
|
|
||||||
vim_strchr(p_go, GO_TERMINAL) != NULL)
|
|
||||||
#endif
|
|
||||||
)
|
|
||||||
retval = mch_call_shell(cmd, opt);
|
retval = mch_call_shell(cmd, opt);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@@ -777,6 +777,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1514,
|
||||||
/**/
|
/**/
|
||||||
1513,
|
1513,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user