* fhandler_tty.cc (fhandler_tty_slave::read): Actually read input when vmin ==

vtime == 0.
This commit is contained in:
Christopher Faylor 2005-05-02 00:17:45 +00:00
parent 0d235234c5
commit b9b1b38358
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-05-01 Christopher Faylor <cgf@timesys.com>
* fhandler_tty.cc (fhandler_tty_slave::read): Actually read input when
vmin == vtime == 0.
2005-04-30 Christopher Faylor <cgf@timesys.com>
* environ.cc (spenv::force_into_environment): Rename from add_always.

View File

@ -815,7 +815,7 @@ fhandler_tty_slave::read (void *ptr, size_t& len)
if (!ptr && len == UINT_MAX)
len = (size_t) bytes_in_pipe;
if (ptr && !vmin && !time_to_wait)
if (ptr && !bytes_in_pipe && !vmin && !time_to_wait)
{
ReleaseMutex (input_mutex);
len = (size_t) bytes_in_pipe;