PATCH: Define wildcardp as a macro with strpbrk
DJ Delorie
dj@redhat.com
Tue Aug 24 23:48:00 GMT 2004
> #define wildcardp(pattern) (strpbrk ((pattern), "?*[") != NULL)
>
> But I don't think it makes a difference here. Here it is.
>
>
> H.J.
> ----
> 2004-08-24 H.J. Lu <hongjiu.lu@intel.com>
>
> * ldlang.c (wildcardp): Defined as a macro with strpbrk.
Are there any remaining C systems where a truth value is not equal to
1? IIRC some used to have "1==1" have a value of -1 (== ~0).
To be fully paranoid, we could add a " ? TRUE : FALSE" to that.
More information about the Binutils
mailing list