Re: [Boost-bugs] [Boost C++ Libraries] #2866: boost::filesystem::rename throw exception when target file exists, but documentation tell us that it must be replaced

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2866: boost::filesystem::rename throw exception when target file exists, but documentation tell us that it must be replaced
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-06-05 05:45:05


#2866: boost::filesystem::rename throw exception when target file exists, but
documentation tell us that it must be replaced
---------------------------------+------------------------------------------
  Reporter: t.kozlov_at_[hidden] | Owner: bemandawes
      Type: Bugs | Status: new
 Milestone: Boost 1.39.0 | Component: filesystem
   Version: Boost 1.38.0 | Severity: Problem
Resolution: | Keywords:
---------------------------------+------------------------------------------
Changes (by csapuntz_at_[hidden]):

  * severity: Cosmetic => Problem

Comment:

 MoveFileA/W error out if destination exists. The posix rename_api is
 written to error out if destination exists (though there is a race of
 course).

 Recommend using MoveFileEx(,,MOVEFILE_REPLACE_EXISTING) on Windows

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2866#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:00 UTC