subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1612534 - /subversion/branches/1.8.x-r1611379/subversion/libsvn_subr/io.c
Date Tue, 22 Jul 2014 10:32:01 GMT
Author: stefan2
Date: Tue Jul 22 10:32:01 2014
New Revision: 1612534

URL: http://svn.apache.org/r1612534
Log:
Fix the build by replacing new 1.9 API by their 1.8 equivalent.

* subversion/libsvn_subr/io.c
  (svn_io__file_lock_autocreate): Use old, generic API instead of
                                  the new, unavailable specific one.

Modified:
    subversion/branches/1.8.x-r1611379/subversion/libsvn_subr/io.c

Modified: subversion/branches/1.8.x-r1611379/subversion/libsvn_subr/io.c
URL: http://svn.apache.org/viewvc/subversion/branches/1.8.x-r1611379/subversion/libsvn_subr/io.c?rev=1612534&r1=1612533&r2=1612534&view=diff
==============================================================================
--- subversion/branches/1.8.x-r1611379/subversion/libsvn_subr/io.c (original)
+++ subversion/branches/1.8.x-r1611379/subversion/libsvn_subr/io.c Tue Jul 22 10:32:01 2014
@@ -2103,7 +2103,7 @@ svn_io__file_lock_autocreate(const char 
 
       /* This file creation is racy.
          We don't care as long as file gets created at all. */
-      err = svn_io_file_create_empty(lock_file, pool);
+      err = svn_io_file_create(lock_file, "", pool);
       if (err && APR_STATUS_IS_EEXIST(err->apr_err))
         {
           svn_error_clear(err);



Mime
View raw message