-
Notifications
You must be signed in to change notification settings - Fork 38.7k
fs: consistently use fsbridge:: for ifstream / ofstream #23857
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Part of bitcoin#20744, but this can be done now, and will simplify the diff.
This is needed to prevent compilation failures once boost is removed, however is still correct to include now, and reduces the diff in bitcoin#20744. <string> is extracted from the defines because it is used for Windows and non-Windows code, i.e get_filesystem_error_message().
|
Please clarify if this changes behavior in any way or if this is a refactor. |
|
https://cirrus-ci.com/task/6421734977961984: |
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
|
Closing as this is going in as part of #20744. |
|
Not sure why this was closed? It looks like the CI failure hinted at a bug that needs fixup? In all other places where strings from the command line are converted to paths, |
It's part of #20744. |
|
I think it might be worthwhile to fix the presumed bug in bench before 20744, in which case this should compile and can also be done before 20744? |
|
Ok. I had deleted the branch, but can open a new PR. |
5e8975e fs: consistently use fsbridge for fopen() (fanquake) 486261d fs: add missing <cassert> include (fanquake) 21f781a fs: consistently use fsbridge for {i,o}fstream (fanquake) Pull request description: These changes are part of #20744, but are also ok to do now, and reduce the diff in that PR. See commit messages for details. Revived from #23857. ACKs for top commit: laanwj: Code review ACK 5e8975e MarcoFalke: ACK 5e8975e 🏕 Tree-SHA512: ee2dc857ce2479b39b65615e689f934b962e580299b0e7a0c6361633402b0d61e6e4479f41f6480e2c46101264d93f330b8f7b57e56df95a7f77e046a4e44697
…fstream 5e8975e fs: consistently use fsbridge for fopen() (fanquake) 486261d fs: add missing <cassert> include (fanquake) 21f781a fs: consistently use fsbridge for {i,o}fstream (fanquake) Pull request description: These changes are part of bitcoin#20744, but are also ok to do now, and reduce the diff in that PR. See commit messages for details. Revived from bitcoin#23857. ACKs for top commit: laanwj: Code review ACK 5e8975e MarcoFalke: ACK 5e8975e 🏕 Tree-SHA512: ee2dc857ce2479b39b65615e689f934b962e580299b0e7a0c6361633402b0d61e6e4479f41f6480e2c46101264d93f330b8f7b57e56df95a7f77e046a4e44697
Two of these changes are part of #20744, but are ok to do now, and reduce the diff that will eventually need to be reviewed in that PR. See commit messages for details.