You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2017/05/21 20:22:51 UTC
svn commit: r1795727 - /subversion/trunk/subversion/svnmucc/svnmucc.c
Author: stefan2
Date: Sun May 21 20:22:51 2017
New Revision: 1795727
URL: http://svn.apache.org/viewvc?rev=1795727&view=rev
Log:
Address a minor initialization lib issue in svnmucc.
Clients should always explictly initialize the libraries that they are using.
This prevents issues during the application tear-down phase.
* subversion/svnmucc/svnmucc.c
(sub_main): Explicitly initialize the RA layer just like the CL client does.
Modified:
subversion/trunk/subversion/svnmucc/svnmucc.c
Modified: subversion/trunk/subversion/svnmucc/svnmucc.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svnmucc/svnmucc.c?rev=1795727&r1=1795726&r2=1795727&view=diff
==============================================================================
--- subversion/trunk/subversion/svnmucc/svnmucc.c (original)
+++ subversion/trunk/subversion/svnmucc/svnmucc.c Sun May 21 20:22:51 2017
@@ -531,6 +531,9 @@ sub_main(int *exit_code, int argc, const
/* Check library versions */
SVN_ERR(check_lib_versions());
+ /* Initialize the RA library. */
+ SVN_ERR(svn_ra_initialize(pool));
+
config_options = apr_array_make(pool, 0,
sizeof(svn_cmdline__config_argument_t*));