id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 13135,boost::filesystem::exists silently fails to work on MSVC with newly created symlink,Antony Polukhin,Beman Dawes,"The following program: {{{ #include #include #include #include int main() { boost::system::error_code error; boost::filesystem::create_directories(""dir/subdir"", error); assert(!error); std::ofstream ofs(""dir/subdir/file.txt""); ofs << ""Boost.Filesystem is fun!""; assert(ofs); ofs.close(); boost::filesystem::create_symlink(""dir/subdir/file.txt"", ""symlink"", error); if (!error) { std::cerr << ""Symlink created\n""; assert(boost::filesystem::exists(""symlink"")); } else { std::cerr << ""Failed to create a symlink\n""; boost::filesystem::remove_all(""dir"", error); assert(!error); boost::filesystem::remove(""symlink"", error); assert(!error); } /*if (!error)*/ } /*main*/ }}} Works well on Linux and Windows+MinGW but fails to work on msvc-14.0: {{{ --- Stderr: Symlink created Assertion failed: boost::filesystem::exists(""symlink""), file .\main.cpp, line 20 --- Ret code: 3 }}} Failed run can be found here: https://ci.appveyor.com/project/apolukhin/boost-cookbook/branch/second_edition/job/1ycwqk36phd8h8il P.S.: Code from above worked well a few months ago. Looks like some recent change broke the example.",Bugs,new,To Be Determined,filesystem,Boost 1.65.0,Problem,,exists fs filesystem msvc,