This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: isspace() & i18n
- To: cygwin-developers at cygwin dot com
- Subject: Re: isspace() & i18n
- From: Christopher Faylor <cgf at redhat dot com>
- Date: Fri, 1 Jun 2001 11:00:27 -0400
- References: <13254193676.20010530145756@logos-m.ru> <20010530095254.B17603@redhat.com> <9265832872.20010530181156@logos-m.ru> <20010530101516.E17603@redhat.com> <3066562491.20010530182405@logos-m.ru> <3B151688.B6ABA6FD@yahoo.com> <20010531140313.C23914@redhat.com> <199210132945.20010601101658@logos-m.ru>
- Reply-To: cygwin-developers at cygwin dot com
On Fri, Jun 01, 2001 at 10:16:58AM +0400, egor duda wrote:
>Hi!
>
>Thursday, 31 May, 2001 Christopher Faylor cgf@redhat.com wrote:
>
>CF> This has been checked in. It doesn't solve the larger issue of
>CF> if this is a newlib bug or not but I think that this is a correct
>CF> fix nonetheless.
>
>unfortunately, no. first, as isspace() wants int, this is equivalent
>to (int)(unsigned int)(char)(-33) == -33
Ah yes. I remember this. We probably need something like:
(unsigned) ((x) & 0xff)
cgf