* fhandler_tty.cc (fhandler_tty_slave::read): Actually read input when vmin ==
vtime == 0.
This commit is contained in:
parent
0d235234c5
commit
b9b1b38358
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue