[Issue 15621] New: std.file.rename does not allow moving files to a different drive
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Jan 29 02:05:40 PST 2016
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: nobody at puremagic.com
Reporter: yebblies at 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.
--
More information about the Digitalmars-d-bugs
mailing list