23 Mar
2005
23 Mar
'05
5:17 p.m.
On Wed, 23 Mar 2005 11:27:05 +0100 (MET), Oliver Kowalke
Hello, is boost::filesystem::copy_file reliable? If the os indicates some failure during copy of a file (for instance no more space available) the destination file is removed or left in an incomplete state?
Looking at the code, in the case of any sort of error condition (aside from failure to open the destination file for writing), copy_file will leave an incomplete destination file in place. -- Caleb Epstein caleb dot epstein at gmail dot com