subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pet...@apache.org
Subject svn commit: r1167123 - in /subversion/trunk/subversion/libsvn_subr: error.c iter.c
Date Fri, 09 Sep 2011 12:11:32 GMT
Author: peters
Date: Fri Sep  9 12:11:32 2011
New Revision: 1167123

URL: http://svn.apache.org/viewvc?rev=1167123&view=rev
Log:
* subversion/libsvn_subr/iter.c
  (svn_iter__break): Add comment that this function is in the public
   ABI, to remind us that we cannot delete or change it.
* subversion/libsvn_subr/error.c
  (svn_error__locate, svn_error__malfunction): Likewise.

Modified:
    subversion/trunk/subversion/libsvn_subr/error.c
    subversion/trunk/subversion/libsvn_subr/iter.c

Modified: subversion/trunk/subversion/libsvn_subr/error.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/error.c?rev=1167123&r1=1167122&r2=1167123&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/error.c (original)
+++ subversion/trunk/subversion/libsvn_subr/error.c Fri Sep  9 12:11:32 2011
@@ -64,8 +64,9 @@ static const char SVN_FILE_LINE_UNDEFINE
 #undef svn_error_quick_wrap
 #undef svn_error_wrap_apr
 
-/* Note: This function was historically in the public API, so we need
- * to define it even when !SVN_DEBUG. */
+/* Note: Although this is a "__" function, it was historically in the
+ * public ABI, so we can never change it or remove its signature, even
+ * though it is now only used in SVN_DEBUG mode. */
 void
 svn_error__locate(const char *file, long line)
 {
@@ -663,6 +664,8 @@ svn_error_set_malfunction_handler(svn_er
   return old_malfunction_handler;
 }
 
+/* Note: Although this is a "__" function, it is in the public ABI, so
+ * we can never remove it or change its signature. */
 svn_error_t *
 svn_error__malfunction(svn_boolean_t can_return,
                        const char *file, int line,

Modified: subversion/trunk/subversion/libsvn_subr/iter.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/iter.c?rev=1167123&r1=1167122&r2=1167123&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/iter.c (original)
+++ subversion/trunk/subversion/libsvn_subr/iter.c Fri Sep  9 12:11:32 2011
@@ -176,6 +176,8 @@ svn_iter_apr_array(svn_boolean_t *comple
   return err;
 }
 
+/* Note: Although this is a "__" function, it is in the public ABI, so
+ * we can never remove it or change its signature. */
 svn_error_t *
 svn_iter__break(void)
 {



Mime
View raw message