diff options
author | Takashi Yano via Cygwin-patches <cygwin-patches@cygwin.com> | 2020-06-04 10:43:19 +0900 |
---|---|---|
committer | Ken Brown <kbrown@cornell.edu> | 2020-06-05 21:34:52 -0400 |
commit | 8014dc709922a0d9934540d79257fe899544046f (patch) | |
tree | 6596d6d29299ee015e2af5db93ab53e55299c3c5 /COPYING3.LIB | |
parent | e6ce6f1430eee503a388cf1fc7fe6634de09fb0f (diff) | |
download | newlib-8014dc709922a0d9934540d79257fe899544046f.zip newlib-8014dc709922a0d9934540d79257fe899544046f.tar.gz newlib-8014dc709922a0d9934540d79257fe899544046f.tar.bz2 |
Cygwin: pty: Fix screen distortion after less for native apps again.
- Commit c4b060e3fe3bed05b3a69ccbcc20993ad85e163d seems to be not
enough. Moreover, it does not work as expected at all in Win10
1809. This patch essentially reverts that commit and add another
fix. After all, the cause of the problem was a race issue in
switch_to_pcon_out flag. That is, this flag is set when native
app starts, however, it is delayed by wait_pcon_fwd(). Since the
flag is not set yet when less starts, the data which should go
into the output_handle accidentally goes into output_handle_cyg.
This patch fixes the problem more essentially for the cause of
the problem than previous one.
Diffstat (limited to 'COPYING3.LIB')
0 files changed, 0 insertions, 0 deletions