Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-08-03 17:02:09 +0400
committerChristopher Faylor <me@cgf.cx>2000-08-03 17:02:09 +0400
commit14323f6a974afc08e8e4564db5c097ac1eaafcb3 (patch)
treeb092d5cdbc2c82296ab188a09a66af50508b5481
parent47026c0785a0cd86c05f8255cc34a85c1cf9eced (diff)
* fhandler_tty.cc (fhandler_pty_master::process_slave_output): Set length field
correctly when "need_nl".
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/fhandler_tty.cc1
2 files changed, 6 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index e10e86d93..f37281929 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 a6eaefb6d..275ce4d68 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;
}