Patch 8.2.2919
Problem: Using ":!command" does not work if the command uses posix_spawn().
Solution: Do not call ioctl() with TIOCSCTTY. (Felipe Contreras)
Files: src/os_unix.c
*** ../vim-8.2.2918/src/os_unix.c 2021-03-27 12:11:29.914607383 +0100
--- src/os_unix.c 2021-06-01 20:48:08.803478739 +0200
***************
*** 4775,4785 ****
// push stream discipline modules
if (options & SHELL_COOKED)
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
set_default_child_environment(FALSE);
--- 4775,4780 ----
*** ../vim-8.2.2918/src/version.c 2021-05-31 22:15:22.130559993 +0200
--- src/version.c 2021-06-01 20:47:01.423671524 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2919,
/**/
--
To the optimist, the glass is half full.
To the pessimist, the glass is half empty.
To the engineer, the glass is twice as big as it needs to be.
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///