This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Define wildcardp as a macro with strpbrk


> #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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]