Boost C++ Libraries: Ticket #8939: boot filesystem error when copy-overwrite-the file to itself https://svn.boost.org/trac10/ticket/8939 <p> I'm running <a class="missing wiki">RedHat</a>. I tried to copy, and overwrite if existing file 'a' to itself. </p> <p> namespace fs=boost::filesystem; fs::copyfile('a', 'a', fs::copy_option::overwrite_if_exist); </p> <p> This clear the content of 'a', and giving me an empty file. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8939 Trac 1.4.3 anonymous Tue, 30 Jul 2013 15:52:40 GMT <link>https://svn.boost.org/trac10/ticket/8939#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8939#comment:1</guid> <description> <p> Let me make clear that I tried one without the dot '.' and the one with the dot </p> <p> fs::copyfile('RESULT/a', './RESULT/a', fs::copy_option::overwrite_if_exist); </p> </description> <category>Ticket</category> </item> </channel> </rss>