subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i...@apache.org
Subject svn commit: r1700847 - /subversion/trunk/subversion/libsvn_subr/io.c
Date Wed, 02 Sep 2015 16:09:56 GMT
Author: ivan
Date: Wed Sep  2 16:09:55 2015
New Revision: 1700847

URL: http://svn.apache.org/r1700847
Log:
Follow-up to r1687583: Fix svn_io_file_rename() on OS/2.

* subversion/libsvn_subr/io.c
  (svn_io_file_rename): Restore call to apr_file_rename() on OS/2 like it
   was before r1687583.

Modified:
    subversion/trunk/subversion/libsvn_subr/io.c

Modified: subversion/trunk/subversion/libsvn_subr/io.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/io.c?rev=1700847&r1=1700846&r2=1700847&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/io.c (original)
+++ subversion/trunk/subversion/libsvn_subr/io.c Wed Sep  2 16:09:55 2015
@@ -4075,6 +4075,7 @@ svn_io_file_rename(const char *from_path
     }
   WIN32_RETRY_LOOP(status, win32_file_rename(from_path_w, to_path_w, pool));
 #elif defined(__OS2__)
+  status = apr_file_rename(from_path_apr, to_path_apr, pool);
   /* If the target file is read only NTFS reports EACCESS and
      FAT/FAT32 reports EEXIST */
   if (APR_STATUS_IS_EACCES(status) || APR_STATUS_IS_EEXIST(status))



Mime
View raw message