Subject: `char -> unsigned char'
To: None <christos@netbsd.org>
From: Todd Vierling <tv@pobox.com>
List: current-users
Date: 12/19/1998 12:15:25
On Sat, 19 Dec 1998, NetBSD source changes wrote:
: src/usr.bin/finger/util.c
: src/usr.bin/fmt/fmt.c
: (christos - Sat Dec 19 16:01:21 UTC 1998)
: char -> unsigned char
Looking at this, it's:
- if (*cp == '\\' && isspace(cp[1]))
+ if (*cp == '\\' && isspace((unsigned char)cp[1]))
Why is this? char/unsigned char stuff was supposed to be taken care of by a
not very recent change to <ctype.h>.
If something is going wrong here, the is*() macros need to change, not a
whole bunch of code. Think `third party code'....
--
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)