[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Cvs-cvs] ccvs/src ChangeLog admin.c

From: Larry Jones
Subject: Re: [Cvs-cvs] ccvs/src ChangeLog admin.c
Date: Tue, 13 Jun 2006 16:09:11 -0400 (EDT)

Derek R. Price writes:
> Yeah, but the is* functions don't issue warnings when the wrong type is
> passed to them, at least in my environment.

No, they just crash or return incorrect results if you pass them a
character with the high bit set (at least in some environments).  The
best thing to do is change all the chars to unsigned chars, but that's
probably more work than you want to take on. :-)  Short of that, you
need casts *somewhere*, the challenge is figuring out where the least
bad place to put them is.

-Larry Jones

Geez, I gotta have a REASON for everything? -- Calvin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]