[Issue 5032] std.file.rename acts differently on Windows and Linux when the target file already exists.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 10 19:53:24 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=5032



--- Comment #5 from Vladimir Panteleev <thecybershadow at gmail.com> 2013-03-11 04:53:21 EET ---
I think a clobber option with the default set to "no" would be better.
Atomicity is a valid concern, but I don't think the default behavior should
imply the risk of accidentally overwriting files.

It's too late to change the behavior of "copy", and atomicity does not apply to
it anyway.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list