Patch 8.2.0645

5 views
Skip to first unread message

Bram Moolenaar

unread,
Apr 26, 2020, 10:06:38 AM4/26/20
to vim...@googlegroups.com

Patch 8.2.0645
Problem: MS-Windows terminal: CTRL-C does not get to child job.
Solution: Remove CREATE_NEW_PROCESS_GROUP from CreateProcessW(). (Nobuhiro
Takasaki, closes #5987)
Files: src/terminal.c


*** ../vim-8.2.0644/src/terminal.c 2020-04-26 14:47:41.616752488 +0200
--- src/terminal.c 2020-04-26 16:04:16.506361669 +0200
***************
*** 6300,6307 ****

if (!CreateProcessW(NULL, cmd_wchar_copy, NULL, NULL, FALSE,
EXTENDED_STARTUPINFO_PRESENT | CREATE_UNICODE_ENVIRONMENT
! | CREATE_SUSPENDED | CREATE_NEW_PROCESS_GROUP
! | CREATE_DEFAULT_ERROR_MODE,
env_wchar, cwd_wchar,
&term->tl_siex.StartupInfo, &proc_info))
goto failed;
--- 6300,6306 ----

if (!CreateProcessW(NULL, cmd_wchar_copy, NULL, NULL, FALSE,
EXTENDED_STARTUPINFO_PRESENT | CREATE_UNICODE_ENVIRONMENT
! | CREATE_SUSPENDED | CREATE_DEFAULT_ERROR_MODE,
env_wchar, cwd_wchar,
&term->tl_siex.StartupInfo, &proc_info))
goto failed;
*** ../vim-8.2.0644/src/version.c 2020-04-26 15:59:51.206952132 +0200
--- src/version.c 2020-04-26 16:05:44.446361012 +0200
***************
*** 748,749 ****
--- 748,751 ----
{ /* Add new patch number below this line */
+ /**/
+ 645,
/**/

--
hundred-and-one symptoms of being an internet addict:
23. You can't call your mother... she doesn't have VOIP

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages