diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2019-02-27 12:04:26 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2019-02-27 12:05:58 +0100 |
commit | a4f9c024c6502c8f073ac59cba124b508daea3cf (patch) | |
tree | 8aed00344be0d230f88c8494f542f03b5fd462ab /src/wallet/walletutil.cpp | |
parent | 6f43ed4c5a3a7dde59eb291e22a09903289401d3 (diff) | |
parent | 6ad79cbd562d04ebbcb61c774fb3389e70fedb7c (diff) | |
download | bitcoin-a4f9c024c6502c8f073ac59cba124b508daea3cf.tar.xz |
Merge #15468: wallet: Use fsbridge::ifstream to fix Windows path issue
6ad79cbd562d04ebbcb61c774fb3389e70fedb7c wallet: Use fsbridge::ifstream to fix Windows path issue (Chun Kuan Lee)
Pull request description:
Fix #15460
Tree-SHA512: 1dab04184608543d49c86cbcfb679d63d35cb7bf3bde2e2d9ddf25ec8977de42b7131db5e81a305f3452858079dbcf68f6ad4624c89575d3d7e5b550687fc6ad
Diffstat (limited to 'src/wallet/walletutil.cpp')
-rw-r--r-- | src/wallet/walletutil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/walletutil.cpp b/src/wallet/walletutil.cpp index 6db4c63acb..d779251d56 100644 --- a/src/wallet/walletutil.cpp +++ b/src/wallet/walletutil.cpp @@ -35,7 +35,7 @@ static bool IsBerkeleyBtree(const fs::path& path) boost::system::error_code ec; if (fs::file_size(path, ec) < 4096) return false; - fs::ifstream file(path.string(), std::ios::binary); + fsbridge::ifstream file(path, std::ios::binary); if (!file.is_open()) return false; file.seekg(12, std::ios::beg); // Magic bytes start at offset 12 |