[Issue 15330] std.file.copy outputs wrong error message when target directory doesn't exist
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Nov 15 17:51:47 PST 2015
https://issues.dlang.org/show_bug.cgi?id=15330
Infiltrator <lt.infiltrator at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |lt.infiltrator at gmail.com
Resolution|--- |WORKSFORME
--- Comment #1 from Infiltrator <lt.infiltrator at gmail.com> ---
This has been fixed in 2.069:
std.file.FileException at std/file.d(3139): baz/bar.txt: No such file or directory
=========
import std.file;
void main() {
write("foo.txt", "abc");
copy("foo.txt", "baz/bar.txt");
}
=========
--
More information about the Digitalmars-d-bugs
mailing list