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 To: egor duda Subject: Re: isspace() & i18n References: <13254193676 DOT 20010530145756 AT logos-m DOT ru> <20010530095254 DOT B17603 AT redhat DOT com> <9265832872 DOT 20010530181156 AT logos-m DOT ru> Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII From: Kazuhiro Fujieda Date: 31 May 2001 01:29:28 +0900 In-Reply-To: egor duda's message of Wed, 30 May 2001 18:11:56 +0400 Message-ID: Lines: 19 X-Mailer: Gnus v5.3/Emacs 19.34 >>> On Wed, 30 May 2001 18:11:56 +0400 >>> egor duda 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. ____ | AIST Kazuhiro Fujieda | HOKURIKU School of Information Science o_/ 1990 Japan Advanced Institute of Science and Technology