diff options
author | Takashi Yano <takashi.yano@nifty.ne.jp> | 2020-01-27 21:14:32 +0900 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2020-01-28 09:30:27 +0100 |
commit | 5ba41ad6e9f1ac3326706523fc827ac3e54466f3 (patch) | |
tree | d5b531f703dccf9731f662659b18f12bee84cb58 /newlib/libc/stdio/getchar.c | |
parent | 7d68ffadd3fbc9b8dcd189d4a20c12a9cd1ed743 (diff) | |
download | newlib-5ba41ad6e9f1ac3326706523fc827ac3e54466f3.zip newlib-5ba41ad6e9f1ac3326706523fc827ac3e54466f3.tar.gz newlib-5ba41ad6e9f1ac3326706523fc827ac3e54466f3.tar.bz2 |
Cygwin: console: Share readahead buffer within the same process.
- The cause of the problem reported in
https://www.cygwin.com/ml/cygwin/2020-01/msg00220.html is that the
chars input before dup() cannot be read from the new file descriptor.
This is because the readahead buffer (rabuf) in the console is newly
created by dup(), and does not inherit from the parent. This patch
fixes the issue.
Diffstat (limited to 'newlib/libc/stdio/getchar.c')
0 files changed, 0 insertions, 0 deletions