Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 7 Oct 2004 10:01:49 +0200 From: Corinna Vinschen To: "cygwin AT cygwin DOT com" Subject: Re: Patch for fhandler_tty.cc Message-ID: <20041007080149.GA21753@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: "cygwin AT cygwin DOT com" References: <0I56004L8D61CZ AT pmismtp02 DOT mcilink DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0I56004L8D61CZ@pmismtp02.mcilink.com> User-Agent: Mutt/1.4.2i On Oct 6 12:10, Mark Paulus wrote: > --- fhandler_tty_old.cc 2004-10-06 12:05:54.196444800 -0600 > +++ fhandler_tty.cc 2004-10-06 12:06:13.465645500 -0600 > @@ -766,7 +766,7 @@ fhandler_tty_slave::read (void *ptr, siz > 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); Looks good. I've applied it. Just a matching ChangeLog entry would have been nice. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/