* subversion/libsvn_subr/io.c   (get_default_file_perms): As part of fixing the recently introduced    permission problems due to restrictive permissions on temp files,    optimise a bit by getting permissions from the file handle rather than    statting the filename, and most importantly use svn_io_open_uniquely_named()    instead of svn_io_open_unique_file3() since the latter tweaks permissions    of files it creates, regardless of umask. Also, split off code into ...   (merge_default_file_perms): ... this new function for readability.   (io_set_file_perms): Call merge_default_file_perms().
* subversion/libsvn_subr/io.c
  (get_default_file_perms): As part of fixing the recently introduced
   permission problems due to restrictive permissions on temp files,
   optimise a bit by getting permissions from the file handle rather than
   statting the filename, and most importantly use svn_io_open_uniquely_named()
   instead of svn_io_open_unique_file3() since the latter tweaks permissions
   of files it creates, regardless of umask. Also, split off code into ...
  (merge_default_file_perms): ... this new function for readability.
  (io_set_file_perms): Call merge_default_file_perms().

jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion