[phobos] [D-Programming-Language/phobos] fad138: fix Issue 15865 - std.file.copy(from, to) deletes t...
GitHub via phobos
phobos at puremagic.com
Mon Apr 4 09:51:18 PDT 2016
Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/phobos
Commit: fad13881996fabbf06704ac5a42b0f843f54630c
https://github.com/D-Programming-Language/phobos/commit/fad13881996fabbf06704ac5a42b0f843f54630c
Author: Vladimir Panteleev <git at thecybershadow.net>
Date: 2016-04-04 (Mon, 04 Apr 2016)
Changed paths:
M std/file.d
Log Message:
-----------
fix Issue 15865 - std.file.copy(from,to) deletes the file if from and to specify the same file
Stat the target fd and check for sameness before truncating the file.
Commit: df99fc87075c46cefb4a6a6052056b833fb93c93
https://github.com/D-Programming-Language/phobos/commit/df99fc87075c46cefb4a6a6052056b833fb93c93
Author: Dmitry Olshansky <dmitry.olsh at gmail.com>
Date: 2016-04-04 (Mon, 04 Apr 2016)
Changed paths:
M std/file.d
Log Message:
-----------
Merge pull request #4148 from CyberShadow/pull-20160404-141544
fix Issue 15865 - std.file.copy(from,to) deletes the file if from and to specify the same file
Compare: https://github.com/D-Programming-Language/phobos/compare/3501695acdc0...df99fc87075c
More information about the phobos
mailing list