[Issue 3862] std.file.copy does not have the same behavior as cp

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Nov 21 19:31:05 PST 2015


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

--- Comment #12 from Vladimir Panteleev <thecybershadow at gmail.com> ---
(In reply to Jonathan M Davis from comment #11)
> @Vladimir Well, clearly you and I have very different expectations when
> copying files.

You haven't addressed any of the arguments I brought up.

> So, if we're not going to fix std.file.copy to work like cp, and I
> want a usable copy function, I'm clearly going to have to find the time to
> write one myself and use that, and then I'll avoid std.file.copy like the
> plague.

In that case, I'll have to keep in mind to avoid any code you write like a
plague ;) Because as I explained, in most situations using such a function is
just wrong, and will result in buggy programs that crash in strange places if
something doesn't go according to its plan.

--


More information about the Digitalmars-d-bugs mailing list