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, 11 Aug 2005 13:32:50 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Bug in stty or /dev/ttySx handling code Message-ID: <20050811173250.GA11563@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com References: <42FB7E80 DOT 9040708 AT gmail DOT 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/