Boost logo

Boost Users :

From: alice.johnson_at_[hidden]
Date: 2005-07-12 10:10:58

On 02/07/2005 02:58:17 <bdawes_at_[hidden]> wrote:

><alice.johnson_at_[hidden]> wrote in message
>> Hi,
>> 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.
>*&%#! and several other words not fit for a public mailing list. If you
>hear I've gone crazy, blame differing Windows versions. Although I'm
>a book that tries to explain the differences between Unix flavors, and
>is a mess too.
>> I would suggest the following change to
>> src\filesystem\operations_posix_windows.cpp:
>> Currently:
>> if ( !::CopyFileA( from_file_ph.string().c_str(),
>> to_file_ph.string().c_str(),
>> ) )
>> Suggested change:
>> if ( !::CopyFileA( from_file_ph.native_file_string().c_str(),
>> to_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().
>It may be that all uses should be changed. I'm a bit worried about doing
>that so close to the 1.33 release. Not to mention that that code is about
>be retired anyhow.
>Let me sleep on it. I've also got to find a machine to test on; I never
>owned a copy of Win 98/me.

So why is this code to be retired? Will there be an alternative?

<janpstetka_at_[hidden]> wrote:
>Is not trying to support 98/ME an option?

No. But I have my own work around; I don't need a fix. Just thought I'd let
you know about the problem.


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