subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From phi...@apache.org
Subject svn commit: r1519617 - /subversion/trunk/subversion/libsvn_fs/fs-loader.c
Date Tue, 03 Sep 2013 09:38:54 GMT
Author: philip
Date: Tue Sep  3 09:38:54 2013
New Revision: 1519617

URL: http://svn.apache.org/r1519617
Log:
Followup to r1519615, move reinitialization to a more appropriate place.

* subversion/libsvn_fs/fs-loader.c
  (uninit): Move reinitialization...
  (svn_fs_initialize): ...to here.

Modified:
    subversion/trunk/subversion/libsvn_fs/fs-loader.c

Modified: subversion/trunk/subversion/libsvn_fs/fs-loader.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs/fs-loader.c?rev=1519617&r1=1519616&r2=1519617&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs/fs-loader.c (original)
+++ subversion/trunk/subversion/libsvn_fs/fs-loader.c Tue Sep  3 09:38:54 2013
@@ -353,7 +353,6 @@ write_fs_type(const char *path, const ch
 static apr_status_t uninit(void *data)
 {
   common_pool = NULL;
-  base_defn.next = NULL;
   return APR_SUCCESS;
 }
 
@@ -365,6 +364,7 @@ svn_fs_initialize(apr_pool_t *pool)
     return SVN_NO_ERROR;
 
   common_pool = svn_pool_create(pool);
+  base_defn.next = NULL;
   SVN_ERR(svn_mutex__init(&common_pool_lock, TRUE, common_pool));
 
   /* ### This won't work if POOL is NULL and libsvn_fs is loaded as a DSO



Mime
View raw message