changeset 8096:9b93fa45937a

Improve comment.
author Bruno Haible <bruno@clisp.org>
date Mon, 05 Feb 2007 02:23:27 +0000
parents 6ee7aacca1e9
children de408ca45a04
files lib/strncasecmp.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lib/strncasecmp.c
+++ b/lib/strncasecmp.c
@@ -25,10 +25,10 @@
 
 #define TOLOWER(Ch) (isupper (Ch) ? tolower (Ch) : (Ch))
 
-/* Compare no more than N bytes of 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 no more than N bytes of 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 cannot work correctly in multibyte locales.  */
 
 int
 strncasecmp (const char *s1, const char *s2, size_t n)