bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

STREQ/STRNEQ


From: Reuben Thomas
Subject: STREQ/STRNEQ
Date: 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.

-- 
http://rrt.sc3d.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]