Skip to content
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

Replace boost filesystem with std filesystem #4308

Closed

Conversation

RickiNano
Copy link
Contributor

@RickiNano RickiNano commented Oct 5, 2023

This pull request replaces boost filesystem with the c++17 std filesystem

It builds and runs on my pc but it does have at least two issues that I hope someone more knowledgeable can either fix or tell me how to fix:

  1. In daemon.ccp line 186 is commented to avoid a build error. This breaks child process RPC, while in-process RPC still works
    2. In secure/utility.cpp we used boost::filesystem::unique_path () but this is not available in std filesystem. I have changed the unique_path function to always return "temp" as a workaround for now

EDIT: The second issue has been resolved with a custom function but I need help with the first one
This PR targets: #4057

@RickiNano
Copy link
Contributor Author

I got both issues fixed now. I'll close this draft PR and I will reopen a "real" pr when everything is ready

@RickiNano RickiNano closed this Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant