diff options
author | MarcoFalke <falke.marco@gmail.com> | 2022-02-11 16:41:22 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2022-02-11 16:41:25 +0100 |
commit | b79c40b057ec39045d0036d978b3c01a5cf9f712 (patch) | |
tree | bb2107b5dac29a4404aaae5da4b0df1d1499434f /test | |
parent | bcecde64b4ad7bb8e717d5709af8fd17532755ab (diff) | |
parent | ee822d85d6de7db85416190cf843ad74147519cf (diff) |
Merge bitcoin/bitcoin#24308: util: use stronger-guarantee rename method
ee822d85d6de7db85416190cf843ad74147519cf util: use stronger-guarantee rename method (Vasil Dimov)
Pull request description:
Use std::filesystem::rename() instead of std::rename(). We rely on the
destination to be overwritten if it exists, but std::rename()'s behavior
is implementation-defined in this case.
This is a rebase of #20435 by vasild.
ACKs for top commit:
MarcoFalke:
review ACK ee822d85d6de7db85416190cf843ad74147519cf
hebasto:
Approach ACK ee822d85d6de7db85416190cf843ad74147519cf.
vasild:
ACK ee822d85d6de7db85416190cf843ad74147519cf
Tree-SHA512: 8f65f154d235c2704f18008d9d40ced3c5d84e4d55653aa70bde345066b6083c84667b5a2f4d69eeaad0bec6c607645e21ddd2bf85617bdec4a2e33752e2059a
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions