diff options
author | Christopher Faylor <me@cgf.cx> | 2005-05-02 00:17:45 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-05-02 00:17:45 +0000 |
commit | b9b1b38358983f564e48ced1a9a599698e1be36f (patch) | |
tree | f1722ddd086453098136ed5af60ebe0ad78d7f46 /winsup/cygwin/fhandler_tty.cc | |
parent | 0d235234c5dd24d552cad60fe885230a6a3b6ec4 (diff) | |
download | cygnal-b9b1b38358983f564e48ced1a9a599698e1be36f.tar.gz cygnal-b9b1b38358983f564e48ced1a9a599698e1be36f.tar.bz2 cygnal-b9b1b38358983f564e48ced1a9a599698e1be36f.zip |
* fhandler_tty.cc (fhandler_tty_slave::read): Actually read input when vmin ==
vtime == 0.
Diffstat (limited to 'winsup/cygwin/fhandler_tty.cc')
-rw-r--r-- | winsup/cygwin/fhandler_tty.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc index 642f5ca80..d74ddbc59 100644 --- a/winsup/cygwin/fhandler_tty.cc +++ b/winsup/cygwin/fhandler_tty.cc @@ -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; |