Get svn_load_dirs.pl working on Windows.
Get svn_load_dirs.pl working on Windows.

Patch by: Ian Brockbank <Ian.Brockbank@wolfsonmicro.com>

   * svn_load_dirs.pl.in
     (main code, setting up $temp_dir): Use TMPDIR => 1 in call
     to tempdir to pick up the system temporary directory portably.

     (main code, processing properties): Windows chokes on
     multi-line commands, caused (potentially) by properties.
     Write to a temporary file and use --file instead of passing
     the value.  This also requires use of File::Temp::tempfile().

     (safe_read_from_pipe): open(HANDLE, "-|"); doesn't work on
     Windows.  Replaced it with open(HANDLE, "@commandline |"); on
     Windows.  This also necessitates pre-processing the command
     line to protect it from the Windows shell, and passing
     comments via a temporary file using --file instead of -m.

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