X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fmbscasecmp.c;h=8a2f434b1d0cd9afc8320b2bcecdda62ba43595a;hb=cbb4401a52ac870ccfe0fbc1e1503e4741ca8fd5;hp=f63e64e3b72a29badad882e0c3d2659e7891fed1;hpb=394f3c1eec28989be315087013bb6546a03d40db;p=gnulib.git diff --git a/lib/mbscasecmp.c b/lib/mbscasecmp.c index f63e64e3b..8a2f434b1 100644 --- a/lib/mbscasecmp.c +++ b/lib/mbscasecmp.c @@ -31,13 +31,13 @@ #define TOLOWER(Ch) (isupper (Ch) ? tolower (Ch) : (Ch)) -/* Compare strings S1 and S2, ignoring case, returning less than, equal to or - greater than zero if S1 is lexicographically less than, equal to or greater - than S2. +/* Compare the character strings S1 and S2, ignoring case, returning less than, + equal to or greater than zero if S1 is lexicographically less than, equal to + or greater than S2. Note: This function may, in multibyte locales, return 0 for strings of different lengths! */ int -strcasecmp (const char *s1, const char *s2) +mbscasecmp (const char *s1, const char *s2) { if (s1 == s2) return 0;