You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ph...@apache.org on 2013/05/20 12:50:03 UTC
svn commit: r1484421 - /subversion/trunk/subversion/libsvn_subr/io.c
Author: philip
Date: Mon May 20 10:50:03 2013
New Revision: 1484421
URL: http://svn.apache.org/r1484421
Log:
* subversion/libsvn_subr/io.c
(svn_io_file_flush_to_disk): Call svn_io_file_flush instead of
repeating the implementation.
Modified:
subversion/trunk/subversion/libsvn_subr/io.c
Modified: subversion/trunk/subversion/libsvn_subr/io.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/io.c?rev=1484421&r1=1484420&r2=1484421&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/io.c (original)
+++ subversion/trunk/subversion/libsvn_subr/io.c Mon May 20 10:50:03 2013
@@ -2096,10 +2096,7 @@ svn_error_t *svn_io_file_flush_to_disk(a
contain the retry loop for EINTR on linux. */
/* First make sure that any user-space buffered data is flushed. */
- SVN_ERR(do_io_file_wrapper_cleanup(file, apr_file_flush(file),
- N_("Can't flush file '%s'"),
- N_("Can't flush stream"),
- pool));
+ SVN_ERR(svn_io_file_flush(file, pool));
apr_os_file_get(&filehand, file);