--- libs/filesystem/src/operations.cpp +++ libs/filesystem/src/operations.cpp @@ -1209,7 +1209,7 @@ const std::string & dir, std::string & target, file_status &, file_status & ) { - static const std::string dummy_first_name( "." ); + const std::string dummy_first_name( "." ); if ( (handle = ::opendir( dir.c_str() )) == 0 ) return errno; target = dummy_first_name; std::size_t path_size;