Cygwin: pty: Add a workaround for ^C handling.

- Pseudo console support introduced by commit
  169d65a577 sometimes cause random
  crash or freeze by pressing ^C while cygwin and non-cygwin
  processes are executed simultaneously in the same pty. This
  patch is a workaround for this issue.
This commit is contained in:
Takashi Yano
2019-09-04 22:47:42 +09:00
committed by Corinna Vinschen
parent 83b2d576c8
commit d4045fdbef
2 changed files with 6 additions and 1 deletions

View File

@ -213,7 +213,6 @@ frok::child (volatile char * volatile here)
- terminate the current fork call even if the child is initialized. */
sync_with_parent ("performed fork fixups and dynamic dll loading", true);
init_console_handler (myself->ctty > 0);
ForceCloseHandle1 (fork_info->forker_finished, forker_finished);
pthread::atforkchild ();