This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: select on serial fix
- From: Christopher Faylor <cgf at redhat dot com>
- To: cygwin-patches at cygwin dot com
- Date: Fri, 15 Nov 2002 13:54:37 -0500
- Subject: Re: select on serial fix
- References: <041a01c28cd7$7ffbf070$0201a8c0@sos>
- Reply-to: cygwin-patches at cygwin dot com
On Fri, Nov 15, 2002 at 01:47:48PM -0500, Sergey Okhapkin wrote:
>The patch fixes a problem with a characters loss on select on a serial port.
>I wonder what PurgeComm() calls in the original code supposed to do...
Dunno. I probably wrote the code, too.
>2002-11-15 Sergey Okhapkin <sos@prospect.com.ru>
>
> * select.cc (peek_serial): Don't call PurgeComm() to avoid
> characters loss.
Applied. Thanks.
cgf