Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Mar 1997 12:12:14 +0300 (MSK)
From:      =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= <ache@nagual.ru>
To:        tarkhil@aha.ru
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: bug in ctype?
Message-ID:  <Pine.BSF.3.95q.970309121024.590A-100000@nagual.ru>
In-Reply-To: <199703090821.LAA05686@tarkhil.dialup.aha.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 9 Mar 1997, Alex Povolotsky wrote:

> With Cyrillic characters (>127) represented as char, isgraph(c) returns 0.
> Implementation as int or unsigned char works fine. Should I rewrite ctype
> library or programs that uses char?

You should rewrite programs. ANSI specifies ctype range as -1,0..255
(for FreeBSD case) no other negative intergers allowed.

-- 
Andrey A. Chernov
<ache@null.net>
http://www.nagual.ru/~ache/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970309121024.590A-100000>