delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/05/30/10:59:52

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 14:57:56 +0400
From: egor duda <deo AT logos-m DOT ru>
X-Mailer: The Bat! (v1.45) Personal
Reply-To: egor duda <cygwin-developers AT cygwin DOT com>
Organization: deo
X-Priority: 3 (Normal)
Message-ID: <13254193676.20010530145756@logos-m.ru>
To: cygwin-developers AT cygwin DOT com
Subject: isspace() & i18n
Mime-Version: 1.0

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?

egor.            mailto:deo AT logos-m DOT ru icq 5165414 fidonet 2:5020/496.19


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019