mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.2.3502: cannot enter password in shell command
Problem: Cannot enter password in shell command. Solution: Revert patch 8.2.2919.
This commit is contained in:
@@ -4806,6 +4806,11 @@ mch_call_shell_fork(
|
|||||||
// push stream discipline modules
|
// push stream discipline modules
|
||||||
if (options & SHELL_COOKED)
|
if (options & SHELL_COOKED)
|
||||||
setup_slavepty(pty_slave_fd);
|
setup_slavepty(pty_slave_fd);
|
||||||
|
# ifdef TIOCSCTTY
|
||||||
|
// Try to become controlling tty (probably doesn't work,
|
||||||
|
// unless run by root)
|
||||||
|
ioctl(pty_slave_fd, TIOCSCTTY, (char *)NULL);
|
||||||
|
# endif
|
||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
set_default_child_environment(FALSE);
|
set_default_child_environment(FALSE);
|
||||||
|
@@ -757,6 +757,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 */
|
||||||
|
/**/
|
||||||
|
3502,
|
||||||
/**/
|
/**/
|
||||||
3501,
|
3501,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user