Boost C++ Libraries: Ticket #4082: rename effects differ between POSIX and Windows systems https://svn.boost.org/trac10/ticket/4082 <p> In case if rename() is called in the way that the source path points to a file on one device (drive) and the target path points to a file on another device, rename() moves the file on Windows, but fails on POSIX systems. I'd expect the function to behave similarly on all systems. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4082 Trac 1.4.3 Beman Dawes Tue, 29 Jun 2010 12:57:34 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/4082#comment:1 https://svn.boost.org/trac10/ticket/4082#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> For Filesystem version 3, scheduled to ship with boost 1.44, rename() on Windows uses <a class="missing wiki">MoveFileEx</a> rather than <a class="missing wiki">MoveFile</a>. <a class="missing wiki">MoveFileEx</a> should more closely mimic POSIX semantics. </p> <p> Thanks, </p> <p> --Beman </p> Ticket Andrey Semashev Tue, 29 Jun 2010 14:04:31 GMT <link>https://svn.boost.org/trac10/ticket/4082#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4082#comment:2</guid> <description> <p> Will there be a function that actually moves the file in the described case rather than fails? </p> </description> <category>Ticket</category> </item> </channel> </rss>