You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2013/12/19 10:56:15 UTC

svn commit: r1552271 - /subversion/trunk/subversion/svnauth/svnauth.c

Author: rhuijben
Date: Thu Dec 19 09:56:15 2013
New Revision: 1552271

URL: http://svn.apache.org/r1552271
Log:
* subversion/svnauth/svnauth.c
  (load_cert): A normal file flush is enough. We don't have to hold the entire
    system to flush the entire IO chain for a tempfile.

Modified:
    subversion/trunk/subversion/svnauth/svnauth.c

Modified: subversion/trunk/subversion/svnauth/svnauth.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svnauth/svnauth.c?rev=1552271&r1=1552270&r2=1552271&view=diff
==============================================================================
--- subversion/trunk/subversion/svnauth/svnauth.c (original)
+++ subversion/trunk/subversion/svnauth/svnauth.c Thu Dec 19 09:56:15 2013
@@ -413,7 +413,7 @@ load_cert(serf_ssl_certificate_t **cert,
                                  ascii_cert));
       return SVN_NO_ERROR;
     }
-  SVN_ERR(svn_io_file_flush_to_disk(pem_file, scratch_pool));
+  SVN_ERR(svn_io_file_flush(pem_file, scratch_pool));
 
   status = serf_ssl_load_cert_file(cert, pem_path, result_pool);
   if (status)