Date: Mon, 30 Apr 2001 10:26:47 +1000 (EST) From: Bruce Evans <bde@zeta.org.au> To: John Polstra <jdp@polstra.com> Cc: current@FreeBSD.ORG, david@catwhisker.org Subject: Re: World is broken... Message-ID: <Pine.BSF.4.21.0104301015450.22391-100000@besplex.bde.org> In-Reply-To: <200104291900.f3TJ0uS39289@vashon.polstra.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 29 Apr 2001, John Polstra wrote: > It's because words.c uses <stand.h> instead of <ctype.h>, and > <stand.h> is missing the #define for isalnum(). I imagine adding > something like this to <stand.h> would fix it: > > #define isalnum(c) (isalpha(c) || isdigit(c)) That would be broken, since it would make isalnum() evaluate its arg more than once, but the other ctype macros in <libstand.h> and <sys/ctype.h> already have this quality, although libstand.3 claims that these functions have the same behaviour as the non-broken libc ones. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0104301015450.22391-100000>