You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by br...@apache.org on 2002/11/07 04:54:15 UTC
cvs commit: apr-util/include apr_xml.h
brane 2002/11/06 19:54:15
Modified: include apr_xml.h
Log:
Clarify that apr_xml_quote_string may not allocate new space for the
return value if the string doesn't change.
Revision Changes Path
1.18 +2 -0 apr-util/include/apr_xml.h
Index: apr_xml.h
===================================================================
RCS file: /home/cvs/apr-util/include/apr_xml.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- apr_xml.h 13 Mar 2002 20:40:48 -0000 1.17
+++ apr_xml.h 7 Nov 2002 03:54:15 -0000 1.18
@@ -347,6 +347,8 @@
* @param s The string to quote
* @param quotes If quotes is true, then replace '"' with '"'.
* @return The quoted string
+ * @note If the string does not contain special characters, it is not
+ * duplicated into the pool and the original string is returned.
*/
APU_DECLARE(const char *) apr_xml_quote_string(apr_pool_t *p, const char *s,
int quotes);