* subversion/libsvn_subr/io.c   (svn_io_mktemp): Properly handle the case where DELETE_WHEN is    'svn_io_file_del_on_close'. We should set the APR_DELONCLOSE    flag in this case but did not set it. Also, setting APR_DELONCLOSE    if DELETE_WHEN is 'svn_io_file_del_on_pool_cleanup' is redundant    so don't do that.
* subversion/libsvn_subr/io.c
  (svn_io_mktemp): Properly handle the case where DELETE_WHEN is
   'svn_io_file_del_on_close'. We should set the APR_DELONCLOSE
   flag in this case but did not set it. Also, setting APR_DELONCLOSE
   if DELETE_WHEN is 'svn_io_file_del_on_pool_cleanup' is redundant
   so don't do that.

Found by: arfrever

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