Subject: Re: isspace(char) can't be used with -Wall -Werror
To: None <current-users@NetBSD.org>
From: SODA Noriyuki <soda@sra.co.jp>
List: current-users
Date: 03/31/2006 02:14:03
>>>>> On Thu, 30 Mar 2006 16:58:32 +0000 (UTC),
      christos@astron.com (Christos Zoulas) said:

> It is a feature.

Yeah, because d may be -128 ... -2 on platforms which char is signed.

> Linphone should be fixed to read isspace((unsigned char)d).

Or, isspace(c), in this particular example.
--
soda