On May 19 19:55, Takashi Yano via Cygwin-patches wrote: > - After commit 071b8e0cbd4be33449c12bb0d58f514ed8ef893c, the problem > reported in https://cygwin.com/pipermail/cygwin/2020-May/244873.html > occurs. This is due to freeing console device accidentally rather > than pseudo console. This patch makes sure to call FreeConsole() > only if the process is attached to the pseudo console of the current > pty. > --- > winsup/cygwin/fhandler.h | 1 + > winsup/cygwin/fhandler_tty.cc | 28 +++++++++++++--------------- > 2 files changed, 14 insertions(+), 15 deletions(-)
Pushed. Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer