You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2015/01/28 08:53:45 UTC
svn commit: r1655233 - /subversion/trunk/subversion/include/svn_version.h
Author: danielsh
Date: Wed Jan 28 07:53:44 2015
New Revision: 1655233
URL: http://svn.apache.org/r1655233
Log:
* subversion/include/svn_version.h
(svn_version_extended): Recommend users to clear the pool after calling
this function.
Suggested by: brane
Modified:
subversion/trunk/subversion/include/svn_version.h
Modified: subversion/trunk/subversion/include/svn_version.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_version.h?rev=1655233&r1=1655232&r2=1655233&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_version.h (original)
+++ subversion/trunk/subversion/include/svn_version.h Wed Jan 28 07:53:44 2015
@@ -306,6 +306,11 @@ typedef struct svn_version_extended_t sv
* retrieve (for example, the OS release name, list of shared
* libraries, etc.). Use @a pool for all allocations.
*
+ * @note This function may allocate significant auxiliary resources (memory and
+ * file descriptors) in @a pool. It is recommended to clear @a pool after
+ * calling this function and copying the returned data to suitable
+ * longer-lived memory.
+ *
* @since New in 1.8.
*/
const svn_version_extended_t *