Fix sporadic file i/o issues on Windows that show up often in Vista.
Fix sporadic file i/o issues on Windows that show up often in Vista.

The underlying problem is that deletes are asynchronous on Windows (files and
directories are not actually deleted until they have been closed by all
applications).  For instance, this can cause us to fail creating a temp
directory we thought we successfully deleted.

* subversion/libsvn_subr/io.c
  (WIN32_RETRY_LOOP): Add comment about async delete's on Windows and add
  another return code they can cause to the list of return codes we retry on.
  (svn_io_make_dir_recursively): Add the retry loop to creating directories.
  (svn_io_remove_dir2): Stop doing the rewind workaround on Windows.
  (dir_make): Add the retry loop to creating directories and don't fail the
  whole call if stat returns an error (or incomplete) when we're trying
  to set the sgid bit.


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@865669 13f79535-47bb-0310-9956-ffa450edef68

YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion