subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1682281 - /subversion/branches/fsx-1.10/subversion/libsvn_fs_x/transaction.c
Date Thu, 28 May 2015 17:05:20 GMT
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));
 



Mime
View raw message