diff options
author | Christopher Faylor <me@cgf.cx> | 2000-08-03 13:02:09 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-08-03 13:02:09 +0000 |
commit | 14323f6a974afc08e8e4564db5c097ac1eaafcb3 (patch) | |
tree | b092d5cdbc2c82296ab188a09a66af50508b5481 | |
parent | 47026c0785a0cd86c05f8255cc34a85c1cf9eced (diff) | |
download | newlib-14323f6a974afc08e8e4564db5c097ac1eaafcb3.zip newlib-14323f6a974afc08e8e4564db5c097ac1eaafcb3.tar.gz newlib-14323f6a974afc08e8e4564db5c097ac1eaafcb3.tar.bz2 |
* fhandler_tty.cc (fhandler_pty_master::process_slave_output): Set length field
correctly when "need_nl".
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/fhandler_tty.cc | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index e10e86d..f372819 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +Thu Aug 3 09:01:14 2000 Christopher Faylor <cgf@cygnus.com> + + * fhandler_tty.cc (fhandler_pty_master::process_slave_output): Set + length field correctly when "need_nl". + Wed Aug 2 22:58:07 2000 Christopher Faylor <cgf@cygnus.com> * fork.cc (vfork): Store complete stack frame in vfork_save structure diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc index a6eaefb..275ce4d 100644 --- a/winsup/cygwin/fhandler_tty.cc +++ b/winsup/cygwin/fhandler_tty.cc @@ -233,6 +233,7 @@ fhandler_pty_master::process_slave_output (char *buf, size_t len, int pktmode_on don't check again here. */ buf[0] = '\n'; need_nl = 0; + rc = 1; goto out; } |