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 2012/07/02 20:53:44 UTC

svn commit: r1356405 - /subversion/trunk/subversion/tests/libsvn_subr/io-test.c

Author: philip
Date: Mon Jul  2 18:53:43 2012
New Revision: 1356405

URL: http://svn.apache.org/viewvc?rev=1356405&view=rev
Log:
* subversion/tests/libsvn_subr/io-test.c
  (create_test_file): Use buffered write, tweak whitespace.

Modified:
    subversion/trunk/subversion/tests/libsvn_subr/io-test.c

Modified: subversion/trunk/subversion/tests/libsvn_subr/io-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_subr/io-test.c?rev=1356405&r1=1356404&r2=1356405&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_subr/io-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_subr/io-test.c Mon Jul  2 18:53:43 2012
@@ -139,10 +139,11 @@ create_test_file(struct test_file_defini
                                   pool);
   
   SVN_ERR(svn_io_file_open(&file_h, 
-                         definition->created_path,
-                         APR_FOPEN_WRITE | APR_FOPEN_CREATE | APR_FOPEN_EXCL,
-                         APR_OS_DEFAULT,
-                         scratch_pool));  
+                           definition->created_path,
+                           (APR_FOPEN_WRITE | APR_FOPEN_CREATE
+                            | APR_FOPEN_EXCL | APR_FOPEN_BUFFERED),
+                           APR_OS_DEFAULT,
+                           scratch_pool));  
 
   for (i=1; i <= definition->size; i += 1) 
     {