Subject: Re: isspace and compiler warnings
To: None <tech-userlevel@netbsd.org>
From: Ignatios Souvatzis <is@netbsd.org>
List: tech-userlevel
Date: 10/18/2006 21:00:59
On Wed, Oct 18, 2006 at 08:06:23PM +0200, Joerg Sonnenberger wrote:
> On Wed, Oct 18, 2006 at 12:47:35PM -0400, der Mouse wrote:
> > >> (The API design is slightly broken in that it cannot work right on
> > >> architectures where char and int are the same, but that's not a
> > >> problem for NetBSD.)
> > > I don't think such platforms exist. IIRC sizeof(char) == 1 and
> > > INT_MAX >= 32767 by ISO C :-)
> >
> > Yes. But nothing says sizeof() units are octets.
>
> I think the platforms which don't have CHAR_BIT == 8 can be considered
> as esoteric. Hey, even the number of NetBSD 1.4T users is most likely larger
> :-)
Ragge?
-is
--
seal your e-mail: http://www.gnupg.org/