Work-around a crash on certain Mac builds (I can't tell why other work fine) where the called parameters to apr_pool_create_ex are problematic. Explicitly pass the default values for the function.
return EXIT_FAILURE;
#endif
- apr_pool_t *pool;
- apr_pool_create(&pool, NULL);
+ apr_pool_t *pool = NULL;
+
+ apr_allocator_t* allocator = NULL;
+ int aprErr = apr_allocator_create(&allocator);
+ if (aprErr != APR_SUCCESS)
+ return EXIT_FAILURE;
+
+ apr_pool_create_ex(&pool, NULL /* parent pool */, NULL /* abort func */, allocator);
+
svn_error_t *err = NULL;
SVN_VERSION_DEFINE(_svn_version);
err = svn_ver_check_list(&_svn_version, mysvn_checklist);