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 -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202106011849.151Ina6x2372534%40masaka.moolenaar.net.