Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Thu, 11 Aug 2005 13:32:50 -0400
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Bug in stty or /dev/ttySx handling code
Message-ID: <20050811173250.GA11563@trixie.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
References: <42FB7E80.9040708@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <42FB7E80.9040708@gmail.com>
User-Agent: Mutt/1.5.8i

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/

