delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/05/30/12:57:45

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 12:57:53 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: egor duda <cygwin-developers AT cygwin DOT com>
Subject: Re: isspace() & i18n
Message-ID: <20010530125753.B19066@redhat.com>
Reply-To: cygwin-developers AT cygwin DOT com
Mail-Followup-To: egor duda <cygwin-developers AT cygwin DOT com>
References: <13254193676 DOT 20010530145756 AT logos-m DOT ru> <20010530095254 DOT B17603 AT redhat DOT com> <9265832872 DOT 20010530181156 AT logos-m DOT ru> <s1s4ru2ls0n DOT fsf AT jaist DOT ac DOT jp>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <s1s4ru2ls0n.fsf@jaist.ac.jp>; from fujieda@jaist.ac.jp on Thu, May 31, 2001 at 01:29:28AM +0900

On Thu, May 31, 2001 at 01:29:28AM +0900, Kazuhiro Fujieda wrote:
>>>> On Wed, 30 May 2001 18:11:56 +0400
>>>> egor duda <deo AT logos-m DOT ru> said:
>
>> i think we should either conform to standard and explicitly convert
>> types or define appropriate strings as unsigned char*, (typedef PATH_STR,
>> perhaps), or define cygwin_is*() as macros that do the conversion, or,
>> as glibc does, expand _ctype to allow indices in range [-128,256].
>
>The last is preferable.
>
>The ISO C standard specifies is* facilities operate properly on
>all values representable as type `char' and type `unsigned char'.
>It depends on implementation whether char is signed or unsigned. 
>The is* facilities should operate on range [-128,256] on the
>implementation where char is singied.

I agree.  I think that this is the preferable solution.

Could someone take this discussion to the newlib mailing list?

cgf

- Raw text -


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