[PATCH] Cygwin: pty: Change the timing of set_locale() call again.

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Aug 17 09:16:21 GMT 2020


On Aug 15 12:23, Takashi Yano via Cygwin-patches wrote:
> - After commit 095972ce5b1d319915501a7e381802914bed790c, charset
>   conversion in mintty is broken if charset is set to other than
>   UTF-8. This seems to be caused because mintty does not set locale
>   yet at fork() call. This patch changes the timing of set_locale()
>   call again to avoid this issue.
> ---
>  winsup/cygwin/fhandler_tty.cc | 10 ++++++----
>  winsup/cygwin/spawn.cc        | 12 ++++++++++++
>  2 files changed, 18 insertions(+), 4 deletions(-)

Pushed.


Thanks,
Corinna


More information about the Cygwin-patches mailing list