]> sourceware.org Git - newlib-cygwin.git/commitdiff
* fhandler_tty.cc (fhandler_tty_slave::read): Use previously
authorCorinna Vinschen <corinna@vinschen.de>
Thu, 7 Oct 2004 08:03:24 +0000 (08:03 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Thu, 7 Oct 2004 08:03:24 +0000 (08:03 +0000)
evaluated time_to_wait value.

winsup/cygwin/ChangeLog
winsup/cygwin/fhandler_tty.cc

index ac3b8ac55562e850e2e5d834de203be3bf809385..8ded614094088ed079287ef97ba3fb6e8661d7db 100644 (file)
@@ -1,3 +1,8 @@
+2004-10-07  Mark Paulus  <mark.paulus@mci.com>
+
+       * fhandler_tty.cc (fhandler_tty_slave::read): Use previously
+       evaluated time_to_wait value.
+
 2004-10-05  Pierre Humblet <pierre.humblet@ieee.org>
 
        * external.cc (check_ntsec): Do not call wincap.has_security.
index 35063817621bab4bd0812bf385578e4361e3427a..c64aac77e5ae50688adef4f1a4cffd6e3e983780 100644 (file)
@@ -765,7 +765,7 @@ fhandler_tty_slave::read (void *ptr, size_t& len)
   w4[0] = signal_arrived;
   w4[1] = input_available_event;
 
-  DWORD waiter = !ptr ? 0 : INFINITE;
+  DWORD waiter = time_to_wait;
   while (len)
     {
       rc = WaitForMultipleObjects (2, w4, FALSE, waiter);
This page took 0.037106 seconds and 5 git commands to generate.