PATCH: Define wildcardp as a macro with strpbrk
Andreas Schwab
schwab@suse.de
Wed Aug 25 13:24:00 GMT 2004
DJ Delorie <dj@redhat.com> writes:
> There was no implied smiley; I really am that paranoid. I fear the
> day someone does "foo_p() != TRUE"
That has always been broken. C before C99 does not have a true boolean
type.
> and discovers that foo_p() returns FALSE and some random other non-zero
> value that's != TRUE.
Just look at the <ctype.h> isfoo functions. Many implementations return
arbitrary non-zero values for a true result.
Btw., AFAIK Pascal does not define <> and = for boolean operands.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, MaxfeldstraÃe 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Binutils
mailing list