subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1546937 - in /subversion/trunk/subversion/libsvn_subr: config_impl.h config_win.c
Date Mon, 02 Dec 2013 09:37:07 GMT
Author: rhuijben
Date: Mon Dec  2 09:37:06 2013
New Revision: 1546937

URL: http://svn.apache.org/r1546937
Log:
Following up on r1546814, fix pool argument ordering. 

Note that all current callers pass the same value for both arguments.

* subversion/libsvn_subr/config_impl.h
* subversion/libsvn_subr/config_win.c
  (svn_config__win_config_path): Update arguments.
  
Found by: danielsh

Modified:
    subversion/trunk/subversion/libsvn_subr/config_impl.h
    subversion/trunk/subversion/libsvn_subr/config_win.c

Modified: subversion/trunk/subversion/libsvn_subr/config_impl.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/config_impl.h?rev=1546937&r1=1546936&r2=1546937&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/config_impl.h (original)
+++ subversion/trunk/subversion/libsvn_subr/config_impl.h Mon Dec  2 09:37:06 2013
@@ -97,8 +97,8 @@ svn_error_t *svn_config__parse_stream(sv
 /* Get the common or user-specific AppData folder */
 svn_error_t *svn_config__win_config_path(const char **folder,
                                          svn_boolean_t system_path,
-                                         apr_pool_t *scratch_pool,
-                                         apr_pool_t *result_pool);
+                                         apr_pool_t *result_pool,
+                                         apr_pool_t *scratch_pool);
 
 /* Read sections and options from the Windows Registry. */
 svn_error_t *svn_config__parse_registry(svn_config_t *cfg,

Modified: subversion/trunk/subversion/libsvn_subr/config_win.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/config_win.c?rev=1546937&r1=1546936&r2=1546937&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/config_win.c (original)
+++ subversion/trunk/subversion/libsvn_subr/config_win.c Mon Dec  2 09:37:06 2013
@@ -51,8 +51,8 @@
 svn_error_t *
 svn_config__win_config_path(const char **folder,
                             svn_boolean_t system_path,
-                            apr_pool_t *scratch_pool,
-                            apr_pool_t *result_pool)
+                            apr_pool_t *result_pool,
+                            apr_pool_t *scratch_pool)
 {
   /* ### Adding CSIDL_FLAG_CREATE here, because those folders really
      must exist.  I'm not too sure about the SHGFP_TYPE_CURRENT



Mime
View raw message