[prev in list] [next in list] [prev in thread] [next in thread]
List: cygwin-patches
Subject: Re: [PATCH v2] Cygwin: pty: Call FreeConsole() only if attached to current pty.
From: Corinna Vinschen <corinna-cygwin () cygwin ! com>
Date: 2020-05-19 13:28:06
Message-ID: 20200519132806.GX3947 () calimero ! vinschen ! de
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic