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

2013-03-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5032 Alex R�nne Petersen changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|

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

2013-03-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5032 --- Comment #9 from github-bugzi...@puremagic.com 2013-03-11 22:03:51 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/7d35ad4953d6dd24857bb978219183abc

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

2013-03-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5032 Vladimir Panteleev changed: What|Removed |Added Keywords||pull --- Comment #8 from Vladimir

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

2013-03-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5032 --- Comment #6 from Andrei Alexandrescu 2013-03-10 19:58:51 PDT --- (In reply to comment #5) > 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

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

2013-03-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5032 --- Comment #7 from Andrei Alexandrescu 2013-03-10 19:59:12 PDT --- (In reply to comment #6) > (In reply to comment #5) > > I think a clobber option with the default set to "no" would be better. > > Atomicity is a valid concern, but I don't th

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

2013-03-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5032 --- Comment #5 from Vladimir Panteleev 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 accidentall

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

2013-03-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5032 --- Comment #4 from Andrei Alexandrescu 2013-03-10 19:43:21 PDT --- No, rename must clobber. It's the only way things can be done atomically on Unix as far as I can tell. If we have code such as "if (!exists(target)) rename(source, target)" we

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

2013-03-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5032 Andrej Mitrovic changed: What|Removed |Added CC||andrej.mitrov...@gmail.com --- Comme

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

2013-03-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5032 Vladimir Panteleev changed: What|Removed |Added CC||thecybersha...@gmail.com --- Comm

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

2013-03-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5032 --- Comment #1 from Andrei Alexandrescu 2013-03-10 18:58:36 PDT --- Could somebody with access to a Windows machine change std.file.rename to overwrite the target? I see in http://msdn.microsoft.com/en-us/library/windows/desktop/aa365240(v=vs.

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

2011-01-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5032 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |ASSIGNED CC|