Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Date: Wed, 30 May 2001 09:52:54 -0400 From: Christopher Faylor To: cygwin-developers AT cygwin DOT com Subject: Re: isspace() & i18n Message-ID: <20010530095254.B17603@redhat.com> Reply-To: cygwin-developers AT cygwin DOT com Mail-Followup-To: cygwin-developers AT cygwin DOT com References: <13254193676 DOT 20010530145756 AT logos-m DOT ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: <13254193676.20010530145756@logos-m.ru>; from deo@logos-m.ru on Wed, May 30, 2001 at 02:57:56PM +0400 On Wed, May 30, 2001 at 02:57:56PM +0400, egor duda wrote: >Hi! > > cygwin calls newlib's isspace() passing it a signed char. this works >ok for ascii symbols 0x00-0x7f, but fails with, say, cyrillic symbols > with codes > 0x80. As a result `cd dir-with-last-cyrillic-letter' >fails as chdir strips last symbols, thinking they're spaces -- >isspace() is called with negative parameter. > >Any thoughts as of how we should handle this? Maybe we just need a cygwin_isspace which checks for just tabs and spaces? cgf