id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 13172,filesystem::directory_iterator::operator++: Function not implemented (errno not reset),Simon Warta ,Beman Dawes,"In `boost/libs/filesystem/src/operations.cpp` we have `readdir_r_simulator`, which throws > exception of type boost::filesystem::filesystem_error: boost::filesystem::directory_iterator::operator++: Function not implemented: ""/data/local/tmp/my_existing_path"" This is because `errno` is not reset after the `::sysconf(_SC_THREAD_SAFE_FUNCTIONS)` call, which sets errno to 38 = ENOSYS. A patch is to add the line errno = 0; after `::sysconf(_SC_THREAD_SAFE_FUNCTIONS)`. This affects Android, e.g. https://github.com/android-ndk/ndk/issues/457 ",Bugs,new,To Be Determined,filesystem,Boost 1.64.0,Problem,,"filesystem, errno, sysconf, readdir, Android",