Re: [commit] Deprecate remaining STREQ uses

Kevin Buettner
2003-11-25T18:02:18Z

On Nov 25, 12:54pm, Andrew Cagney wrote:

> So, should the transformation be the strictly mechanical inline expansion:
>
> STREQ(a,b) => (*(a) == *(b) ? !strcmp ((a), (b)) : 0)
>
> or also include a simplification leading to:
>
> STREQ(a,b) => (strcmp ((a), (b)) == 0)

The latter. If you still want to do the former, you might as well
keep the macro.

Kevin