You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ph...@apache.org on 2010/05/14 12:03:14 UTC

svn commit: r944183 - /subversion/trunk/subversion/libsvn_subr/opt.c

Author: philip
Date: Fri May 14 10:03:14 2010
New Revision: 944183

URL: http://svn.apache.org/viewvc?rev=944183&view=rev
Log:
Add one symbol to allow the 1.6 client to link against the 1.7 libraries.

* subversion/libsvn_subr/opt.c
  (svn_opt__eat_peg_revisions): New.

Modified:
    subversion/trunk/subversion/libsvn_subr/opt.c

Modified: subversion/trunk/subversion/libsvn_subr/opt.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/opt.c?rev=944183&r1=944182&r2=944183&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/opt.c (original)
+++ subversion/trunk/subversion/libsvn_subr/opt.c Fri May 14 10:03:14 2010
@@ -1065,6 +1065,23 @@ svn_opt_print_help3(apr_getopt_t *os,
   return SVN_NO_ERROR;
 }
 
+/* svn_opt__eat_peg_revisions was added to the 1.6 branch and, despite
+   its double underscore name, it is called from the application
+   layer.  So to remain ABI compatibilty with 1.6 the name must
+   continue to exist.  Adding this name is sufficient for the 1.6
+   client to link against the 1.7 libraries. */
+svn_error_t *
+svn_opt__eat_peg_revisions(apr_array_header_t **true_targets_p,
+                           const apr_array_header_t *targets,
+                           apr_pool_t *pool);
+svn_error_t *
+svn_opt__eat_peg_revisions(apr_array_header_t **true_targets_p,
+                           const apr_array_header_t *targets,
+                           apr_pool_t *pool)
+{
+  return svn_opt_eat_peg_revisions(true_targets_p, targets, pool);
+}
+
 svn_error_t *
 svn_opt_eat_peg_revisions(apr_array_header_t **true_targets_p,
                           const apr_array_header_t *targets,