aboutsummaryrefslogtreecommitdiff
path: root/libgloss
diff options
context:
space:
mode:
authorTakashi Yano <takashi.yano@nifty.ne.jp>2020-02-10 20:42:45 +0900
committerCorinna Vinschen <corinna@vinschen.de>2020-02-10 15:31:29 +0100
commit2379142bc5d345421acb9e3ac86abcad0d7bf71e (patch)
tree224895413bd3dfda8922046868bd37abc54e00c7 /libgloss
parent2de74af22be0ccf75f094caf48c8beb36a49d8c9 (diff)
downloadnewlib-2379142bc5d345421acb9e3ac86abcad0d7bf71e.zip
newlib-2379142bc5d345421acb9e3ac86abcad0d7bf71e.tar.gz
newlib-2379142bc5d345421acb9e3ac86abcad0d7bf71e.tar.bz2
Cygwin: pty: Prevent potential errno overwriting.
- In push_to_pcon_screenbuffer(), open() and ioctl() are called. Since push_to_pcon_screenbuffer() is called in read() and write(), errno which is set in read() and write() code may be overwritten in open() or ioctl() call. This patch prevent this situation.
Diffstat (limited to 'libgloss')
0 files changed, 0 insertions, 0 deletions