apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1727020 - /apr/apr/trunk/include/apr_cstr.h
Date Wed, 27 Jan 2016 12:38:00 GMT
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,



Mime
View raw message