Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Apr 2001 12:11:58 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        John Polstra <jdp@polstra.com>
Cc:        current@freebsd.org, david@catwhisker.org
Subject:   Re: World is broken... 
Message-ID:  <200104291911.f3TJBw801041@mass.dis.org>
In-Reply-To: Your message of "Sun, 29 Apr 2001 12:00:56 PDT." <200104291900.f3TJ0uS39289@vashon.polstra.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > The only reference to isalnum() I see is in boot/ficl/words.c:274, an=
d
> > appears to replace a couple of references, one to isdigit() and the
> > other to isalpha().
> > =

> > Perhaps something was omitted in the upgrade to ficl 2.05?
> =

> 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))

Just FWIW, you can't use <ctype.h> in the loader; it's too incestuously =

entangled with the rest of libc.  I suspect that Daniel forgot to update =

libstand.

I've stuck this in for now.

-- =

=2E.. every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
           V I C T O R Y   N O T   V E N G E A N C E



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?200104291911.f3TJBw801041>