On OSs that always use UTF-8 as apr filepath format stop copying all paths before passing it only to apr. (Currently applies to Windows and OS/X).
On OSs that always use UTF-8 as apr filepath format stop copying all
paths before passing it only to apr. (Currently applies to Windows and OS/X).

* subversion/libsvn_subr/io.c
  (cstring_to_utf8, cstring_from_utf8): New function.
  (io_check_path, svn_io_open_uniquely_named, svn_io_create_unique_link,
   svn_io_read_link): Only copy path if needed.
  (svn_io_temp_dir): Convert to utf-8 before canonicalizing.
  (svn_io_copy_file, svn_io_copy_perms, svn_io_append_file,
   svn_io_make_dir_recursively,
   svn_io_set_file_affected_time): Only copy path if needed.
  (svn_io_sleep_for_timestamps): Replace tabs with spaces.
  (svn_io_filesizes_different_p, get_default_file_perms,
   io_set_file_perms, svn_io_set_file_read_only,
   svn_io_set_file_read_write, svn_io_remove_file,
   svn_io_remove_dir2, svn_io_start_cmd,
   svn_io_run_diff, svn_io_run_diff3_2,
   svn_io_file_open, svn_io_stat, svn_io_file_rename,
   dir_make, svn_io_dir_open, svn_io_dir_remove_nonrecursive,
   svn_io_dir_read, svn_io_dir_walk, svn_io_dir_empty):
      Only copy path if needed.


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

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