This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Bug in stty or /dev/ttySx handling code
- From: Christopher Faylor <cgf-no-personal-reply-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 11 Aug 2005 13:32:50 -0400
- Subject: Re: Bug in stty or /dev/ttySx handling code
- References: <42FB7E80.9040708@gmail.com>
- Reply-to: cygwin at cygwin dot com
On Thu, Aug 11, 2005 at 10:36:16AM -0600, Troy Curtiss wrote:
>Hi Peter,
> That was my patch applied back in 02/01/2003 and upon re-examining it,
>I believe this is an error. The intended behavior was as follows:
>
>1) When a baud rate of B0 is passed to tcsetattr(), it should not change
>the actual baud rate, but instead drop DTR.
>2) In tcgetattr(), the presently set baud rate should be returned,
>regardless of the state of DTR.
>
>My earlier patch violates #2. I am sending a patch to fix this to
>cygwin-patches right now (CC'ing you, as well.) Thanks for bringing
>this to my attention - I don't know what I was thinking that day :)
A snapshot with Tony's patch is available at:
http://cygwin.com/snapshots/
FYI,
cgf
--
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/