Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2005-06-16 17:21:46


"Beman Dawes" <bdawes_at_[hidden]> wrote in message
news:d8sndv$497$1_at_sea.gmane.org...
>
> "SourceForge.net" <noreply_at_[hidden]> wrote in message
> news:E1DidXS-0007oi-Py_at_sc8-sf-web1.sourceforge.net...
>> Bugs item #1221465, was opened at 2005-06-15 14:27
>> Message generated for change (Tracker Item Submitted) made by Item
>> Submitter
>> You can respond by visiting:
>> https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1221465&group_id=7586
>>
>> Result:
>> <pre>
>> ERROR:boost::filesystem::remove: "foo3": Directory not
>> empty
>> 0,1
>> 0,0
>> 1,0
>> </pre>
>>
>> Also note that the post-condition is violated for foo1.
>
> I've asked on the bug tracker for the compiler and O/S versions involved.
> My guess is that this is the Metrowerks 9.5 std::remove() bug on Mac OS X,
> rather than a bug in Boost code.
>
> In the meantime, I'm adding test cases to operations_test to detect the
> OP's reported error.

These test cases have been added to CVS. They pass on Linux with GCC. (They
don't apply to Windows, since it doesn't support symbolic links.) I'll watch
as the regression tests cycle to make sure the new test cases don't break on
any other platforms.

--Beman


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk