https://issues.dlang.org/show_bug.cgi?id=15621

          Issue ID: 15621
           Summary: std.file.rename does not allow moving files to a
                    different drive
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nob...@puremagic.com
          Reporter: yebbl...@gmail.com

On windows std.file.rename calls MoveFileExW, which will not move files from
once device to another unless the MOVEFILE_COPY_ALLOWED flag is set.

Since the cstdio function with the same name doesn't have this limitation, and
it's not documented, it seems accidental.

--

Reply via email to