X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Wed, 3 Jun 2009 21:04:58 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: [1.7][BUG] winsup/cygwin/strfuncs.cc Message-ID: <20090603190458.GQ23519@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <3f0ad08d0906031111q9c857ddu48869fdade0c71da AT mail DOT gmail DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3f0ad08d0906031111q9c857ddu48869fdade0c71da@mail.gmail.com> User-Agent: Mutt/1.5.19 (2009-02-20) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Jun 4 03:11, IWAMURO Motonori wrote: > Hi. > > I found a trivial bug. > > *pmbs is unsigned char. > '\x80' is -128 because it is char literal (not unsigned char). > -> "*pmbs > '\x80'" is always true. > > # Is not "> 0x80" but ">= 0x80" correct? You're right. I meant to fix that when I applied the previous patch but then missed it. I applied the ">= 0x80" condition. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/