gulrak / filesystem

An implementation of C++17 std::filesystem for C++11 /C++14/C++17/C++20 on Windows, macOS, Linux and FreeBSD.
MIT License
1.31k stars 168 forks source link

Fix build on GNU/Hurd #154

Closed sthibaul closed 1 year ago

sthibaul commented 1 year ago

There is no path length limitation there, even via pathconf. But glibc provides a getcwd function that allocates the buffer dynamically so we can just leverage that.

gulrak commented 1 year ago

Thank you for the fix, sorry for the delay.