Boost logo

Boost Users :

From: alice.johnson_at_[hidden]
Date: 2005-07-01 08:21:20


I think I've found a problem with this function. On Windows 98/Me
computers, it can fail with path not found error (3) if the from path is on
a network share.

I would suggest the following change to


      if ( !::CopyFileA( from_file_ph.string().c_str(),
                      to_file_ph.string().c_str(), /*fail_if_exists=*/true
) )
Suggested change:

      if ( !::CopyFileA( from_file_ph.native_file_string().c_str(),
/*fail_if_exists=*/true ) )

There may be other areas in the filesystem code where it would be better to
use native_file_string().


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at