
30 Nov
2008
30 Nov
'08
2:53 a.m.
On Sat, Nov 29, 2008 at 10:16 AM, Anton Ivanov <ai@drweb.com> wrote:
Hi!
Seems bug in boost::filesystem::copy_file on unix.
This code is wrong if ::stat call fails - it is just close descriptor with number 0 (by if ( infile >= 0 ) ::close( infile );).
Fixed. Thanks for the bug report and patch! --Beman