You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by ji...@apache.org on 2016/01/27 13:38:00 UTC

svn commit: r1727020 - /apr/apr/trunk/include/apr_cstr.h

Author: jim
Date: Wed Jan 27 12:38:00 2016
New Revision: 1727020

URL: http://svn.apache.org/viewvc?rev=1727020&view=rev
Log:
not perfect, but at least makes it more clear that
the comparison ignores case.

Modified:
    apr/apr/trunk/include/apr_cstr.h

Modified: apr/apr/trunk/include/apr_cstr.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_cstr.h?rev=1727020&r1=1727019&r2=1727020&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_cstr.h (original)
+++ apr/apr/trunk/include/apr_cstr.h Wed Jan 27 12:38:00 2016
@@ -145,8 +145,9 @@ char * apr_cstr_join(const apr_array_hea
 #endif
 
 /**
- * Compare two strings @a atr1 and @a atr2, treating case-equivalent
- * unaccented Latin (C/POSIX ASCII subset) alpha characters as equal.
+ * Perform a case-insensitive comparison of two strings @a atr1 and @a atr2,
+ * treating case-equivalent unaccented Latin (C/POSIX ASCII subset) alpha
+ * characters as equal.
  *
  * Returns in integer greater than, equal to, or less than 0,
  * according to whether @a str1 is considered greater than, equal to,
@@ -157,9 +158,9 @@ char * apr_cstr_join(const apr_array_hea
 int apr_cstr_casecmp(const char *str1, const char *str2);
 
 /**
- * Compare two strings @a atr1 and @a atr2 of @n (or shorter) length,
- * treating case-equivalent unaccented Latin (C/POSIX ASCII subset)
- * alpha characters as equal.
+ * Perform a case-insensitive comparison of two strings @a atr1 and @a atr2,
+ * of @n (or shorter) length, treating case-equivalent unaccented Latin
+ * (C/POSIX ASCII subset) alpha characters as equal.
  *
  * Returns in integer greater than, equal to, or less than 0,
  * according to whether @a str1 is considered greater than, equal to,