subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From phi...@apache.org
Subject svn commit: r1356405 - /subversion/trunk/subversion/tests/libsvn_subr/io-test.c
Date Mon, 02 Jul 2012 18:53:44 GMT
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) 
     {



Mime
View raw message