]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: pty: Treat both CR and NL as line feed in transfer_inpup().
authorTakashi Yano <takashi.yano@nifty.ne.jp>
Fri, 4 Mar 2022 07:05:35 +0000 (16:05 +0900)
committerTakashi Yano <takashi.yano@nifty.ne.jp>
Fri, 4 Mar 2022 11:04:02 +0000 (20:04 +0900)
commita263b94b5efd4595bf72425a975a8e29fcc989de
tree39f6b964141e55660654e6fdcb2aef7921e8f608
parent845515267b8dfb7198ae5ca9d4a30d58b2a3d995
Cygwin: pty: Treat both CR and NL as line feed in transfer_inpup().

- To make read() work properly in canonical mode, writing to the pty
  pipe should be done line by line. However, only CR was treated as
  line separator previously in transfer_input(). This patch fixes
  the issue.
winsup/cygwin/fhandler_tty.cc
This page took 0.035039 seconds and 5 git commands to generate.