copy_file reliable?
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? thx, Oliver -- "Happy ProMail" bis 24. M�rz: http://www.gmx.net/de/go/promail Zum 6. Geburtstag gibt's GMX ProMail jetzt 66 Tage kostenlos!
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
participants (2)
-
Caleb Epstein
-
Oliver Kowalke