[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sun, 13 Mar 2011 14:06:26 +0000
I was a bit perplexed to find that one of the tests in maint.mk
instructs me to use STREQ/STRNEQ instead of strcmp, but, while this is
eminently sensible, not only is no definition of STRNEQ provided, but
that of STREQ isn't the one meant, but rather an optimised 11-argument
horror for short literal string comparisons.
I can find a definition of STREQ in some of the lib/*.c files, and
extrapolate STRNEQ from it, but it seems nonetheless that the doctor
is prescribing a medicine that the pharmacist doesn't stock.
|[Prev in Thread]
||[Next in Thread]|
Reuben Thomas <=