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 2013/10/19 21:55:58 UTC

svn commit: r1533814 - /subversion/trunk/subversion/libsvn_subr/file.c

Author: stefan2
Date: Sat Oct 19 19:55:58 2013
New Revision: 1533814

URL: http://svn.apache.org/r1533814
Log:
Improve code uniformity.  No functional change.

* subversion/libsvn_subr/file.c
  (reclaim_shared_handle,
   close_handle): use our wrapper macro instead of calling APR directly

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

Modified: subversion/trunk/subversion/libsvn_subr/file.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/file.c?rev=1533814&r1=1533813&r2=1533814&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/file.c (original)
+++ subversion/trunk/subversion/libsvn_subr/file.c Sat Oct 19 19:55:58 2013
@@ -184,7 +184,7 @@ reclaim_shared_handle(shared_handle_pool
                 shared_handle_t *) = NULL;
 
   /* implicitly closes the file */
-  apr_pool_clear(result->pool);
+  svn_pool_clear(result->pool);
 
   return result;
 }
@@ -331,7 +331,7 @@ close_handle(shared_handle_pool_t *handl
              shared_handle_t *handle)
 {
   /* implicitly closes the file */
-  apr_pool_clear(handle->pool);
+  svn_pool_clear(handle->pool);
 
   handle_pool->last_open = handle->previous;
   handle->next = handle_pool->first_unused;