darcs

Patch 1646 resolve issue2566: avoid renaming across file systems

Title resolve issue2566: avoid renaming across file systems
Superseder Nosy List bf
Related Issues
Status accepted Assigned To
Milestone

Created on 2018-02-18.14:19:37 by bf, last changed 2018-03-09.20:00:51 by gh.

Files
File name Status Uploaded Type Edit Remove
resolve-issue2566_-avoid-renaming-across-file-systems.dpatch bf, 2018-02-18.14:19:37 application/x-darcs-patch
See mailing list archives for discussion on individual patches.
Messages
msg19898 (view) Author: bf Date: 2018-02-18.14:19:37
Author: Ben Franksen <ben.franksen@online.de>
Date:   Sun Feb 18 14:36:20 CET 2018
  * resolve issue2566: avoid renaming across file systems
  
  The trick is to create the temporary directory in the same place where we
  want to create the final directory. Previously it was created in the
current
  directory, which could result in crashes when the final directory is on a
  different file system. Note that we must use takeDirectory from the native
  System.FilePath, else this would fail on Windows.
Attachments
msg19952 (view) Author: gh Date: 2018-03-09.20:00:51
Good one. Accepted.
History
Date User Action Args
2018-02-18 14:19:37bfcreate
2018-03-09 20:00:51ghsetstatus: needs-review -> accepted
messages: + msg19952