* fhandler_tty.cc (fhandler_pty_master::process_slave_output): Set length field

correctly when "need_nl".
This commit is contained in:
Christopher Faylor 2000-08-03 13:02:09 +00:00
parent 47026c0785
commit 14323f6a97
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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;
}