Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Mar 1997 04:10:43 -0500
From:      Harlan Stenn <Harlan.Stenn@pfcs.com>
To:        tarkhil@aha.ru
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: bug in ctype? 
Message-ID:  <29378.857898643@mumps.pfcs.com>
In-Reply-To: Your message of "Sun, 09 Mar 1997 11:21:27 %2B0300." <199703090821.LAA05686@tarkhil.dialup.aha.ru> 

next in thread | previous in thread | raw e-mail | index | archive | help
Alex> With Cyrillic characters (>127) represented as char, isgraph(c)
Alex> returns 0.  Implementation as int or unsigned char works
Alex> fine. Should I rewrite ctype library or programs that uses char?

Rewrite your software.  isgraph() takes an int, not a char.  You'll also
save yourself trouble if you use u_char for your application.

H




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?29378.857898643>