4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-19 12:59:21 +08:00

Cygwin: pty: Not to change code page of parent console.

- The recent commit "Cygwin: pty: Fix timing of creating invisible
  console." breaks the feature added by commit 72770148, which
  prevents pty from changing code page of parent console. This patch
  restores that.
This commit is contained in:
Takashi Yano 2022-05-09 12:23:57 +09:00
parent a6d06056e1
commit a19161a6d3

View File

@ -1610,7 +1610,7 @@ fhandler_console::close ()
if (con_ra.rabuf)
free (con_ra.rabuf);
if (!have_execed)
if (!have_execed && !invisible_console)
free_console ();
return 0;
}