This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
RE: PATCH: Define wildcardp as a macro with strpbrk
- From: "Dave Korn" <dk at artimi dot com>
- To: "'H. J. Lu'" <hjl at lucon dot org>,"'DJ Delorie'" <dj at redhat dot com>
- Cc: <schwab at suse dot de>,<binutils at sources dot redhat dot com>
- Date: Wed, 25 Aug 2004 16:36:58 +0100
- Subject: RE: PATCH: Define wildcardp as a macro with strpbrk
> -----Original Message-----
> From: binutils-owner On Behalf Of H. J. Lu
> Sent: 25 August 2004 16:34
> To: DJ Delorie
> Cc: schwab; binutils
> Subject: Re: PATCH: Define wildcardp as a macro with strpbrk
>
> On Wed, Aug 25, 2004 at 09:07:23AM -0400, DJ Delorie wrote:
> >
> > > PS: Sorry if I missed an implied smiley.
> >
> > There was no implied smiley; I really am that paranoid. I fear the
> > day someone does "foo_p() != TRUE" and discovers that
> foo_p() returns
> > FALSE and some random other non-zero value that's != TRUE.
>
> x != TRUE isn't the same as x != NULL for bfd_boolean.
x != TRUE isn't the same as x != NULL for any type, it's the opposite.....
cheers,
DaveK
--
Can't think of a witty .sigline today....