diff options
author | Takashi Yano <takashi.yano@nifty.ne.jp> | 2025-03-21 12:54:28 +0900 |
---|---|---|
committer | Takashi Yano <takashi.yano@nifty.ne.jp> | 2025-03-21 13:17:53 +0900 |
commit | 0bfd91d578632b9348d769d2bc8611d6e9493d3a (patch) | |
tree | 0cd13ccd41254884e43246b370517946878b92c8 /newlib/libc/stdlib/strtod.c | |
parent | 8e50c7af7c49819245739d6f626f6fecc394ef7f (diff) | |
download | newlib-main.zip newlib-main.tar.gz newlib-main.tar.bz2 |
Cygwin: console: tty::restore really restores the previous modeHEADgithub/mastergithub/mainmastermain
Previously, tty::restore sets the console mode to a predetermined
console mode that is widely common for many non-cygwin console apps.
So, if a non-cygwin app that is started from cygwin process changes
the console mode and executes cygwin sub-process, the console mode
is changed to the predetermined mode rather than being restored the
original mode that is set by the non-cygwin app.
With this patch, the console mode is stored when a cygwin process is
started from non-cygwin app, then tty::restore restores the previous
console mode that is used by the previous non-cygwin app when the
cygwin app exits.
Addresses: https://github.com/msys2/msys2-runtime/issues/268
Fixes: 3312f2d21f13 ("Cygwin: console: Redesign mode set strategy on close().")
Reported-by: Eu Pin Tien, Jeremy Drake <cygwin@jdrake.com>
Signed-off-by: Takashi Yano <takashi.yano@nifty.ne.jp>
Diffstat (limited to 'newlib/libc/stdlib/strtod.c')
0 files changed, 0 insertions, 0 deletions