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 2015/05/28 19:05:20 UTC

svn commit: r1682281 - /subversion/branches/fsx-1.10/subversion/libsvn_fs_x/transaction.c

Author: stefan2
Date: Thu May 28 17:05:20 2015
New Revision: 1682281

URL: http://svn.apache.org/r1682281
Log:
On the fsx-1.10 branch: Follow-up to r1680528.

* subversion/libsvn_fs_x/transaction.c
  (commit_body): On Windows, fsyncs need generic write access,
                 on other platforms, it won't hurt.

Modified:
    subversion/branches/fsx-1.10/subversion/libsvn_fs_x/transaction.c

Modified: subversion/branches/fsx-1.10/subversion/libsvn_fs_x/transaction.c
URL: http://svn.apache.org/viewvc/subversion/branches/fsx-1.10/subversion/libsvn_fs_x/transaction.c?rev=1682281&r1=1682280&r2=1682281&view=diff
==============================================================================
--- subversion/branches/fsx-1.10/subversion/libsvn_fs_x/transaction.c (original)
+++ subversion/branches/fsx-1.10/subversion/libsvn_fs_x/transaction.c Thu May 28 17:05:20 2015
@@ -3442,8 +3442,8 @@ commit_body(void *baton,
   SVN_ERR_ASSERT(! svn_fs_x__is_packed_revprop(cb->fs, new_rev));
   SVN_ERR(write_final_revprop(&revprop_filename, cb->txn, txn_id, subpool));
 
-  SVN_ERR(svn_io_file_open(&revprop_file, revprop_filename, APR_READ,
-                           APR_OS_DEFAULT, subpool));
+  SVN_ERR(svn_io_file_open(&revprop_file, revprop_filename,
+                           APR_READ | APR_WRITE, APR_OS_DEFAULT, subpool));
   SVN_ERR(svn_io_file_flush_to_disk(revprop_file, subpool));
   SVN_ERR(svn_io_file_close(revprop_file, subpool));