You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ko...@apache.org on 2016/04/01 14:09:14 UTC

svn commit: r1737355 - /subversion/trunk/subversion/libsvn_fs_fs/fs.c

Author: kotkov
Date: Fri Apr  1 12:09:14 2016
New Revision: 1737355

URL: http://svn.apache.org/viewvc?rev=1737355&view=rev
Log:
Use the safe value for `ffd->flush_to_disk' when initializing an svn_fs_t.

The value of TRUE matches the old behavior and should guard against
possible mistakes, say, if an svn_fs_t is used without parsing the
corresponding config value.

* subversion/libsvn_fs_fs/fs.с
  (initialize_fs_struct): Set ffd->flush_to_disk to TRUE.

Modified:
    subversion/trunk/subversion/libsvn_fs_fs/fs.c

Modified: subversion/trunk/subversion/libsvn_fs_fs/fs.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/fs.c?rev=1737355&r1=1737354&r2=1737355&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/fs.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/fs.c Fri Apr  1 12:09:14 2016
@@ -292,7 +292,7 @@ initialize_fs_struct(svn_fs_t *fs)
   fs_fs_data_t *ffd = apr_pcalloc(fs->pool, sizeof(*ffd));
   ffd->use_log_addressing = FALSE;
   ffd->revprop_prefix = 0;
-  ffd->flush_to_disk = FALSE;
+  ffd->flush_to_disk = TRUE;
 
   fs->vtable = &fs_vtable;
   fs->fsap_data = ffd;