You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2010/02/11 15:09:46 UTC

svn commit: r908981 - /subversion/trunk/subversion/libsvn_subr/io.c

Author: rhuijben
Date: Thu Feb 11 14:09:43 2010
New Revision: 908981

URL: http://svn.apache.org/viewvc?rev=908981&view=rev
Log:
* subversion/libsvn_subr/io.c
  (svn_io_file_rename): Following up on r908980, explain the errors.

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=908981&r1=908980&r2=908981&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/io.c (original)
+++ subversion/trunk/subversion/libsvn_subr/io.c Thu Feb 11 14:09:43 2010
@@ -2949,6 +2949,8 @@
   status = apr_file_rename(from_path_apr, to_path_apr, pool);
 
 #ifdef WIN32
+  /* 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))
     {
       /* Set the destination file writable because Windows will not