Subject: Re: [boost] boost::filesystem changes since version 1.55.0
From: Armin Pies (armin.pies_at_[hidden])
Date: 2014-12-09 03:54:57
We have a test with multiple threads which access a directory in parallel, creating or deleting files, iterating over the directory etc.
We handle exceptions like "no such file or directory" but they did never occurred in the operation of incrementing the iterator before boost version 1.56.
By the way, these "new" exceptions in the operator++ have only occured under Linux (gcc 4.8.2) but not under Windows (vc++ 12.0).
Von: Boost [mailto:boost-bounces_at_[hidden]] Im Auftrag von Peter Bindels
Gesendet: Montag, 8. Dezember 2014 16:49
Betreff: Re: [boost] boost::filesystem changes since version 1.55.0
In which cases does it throw now? To me that sounds like an unexpected regression.
On 8 December 2014 at 16:34, Armin Pies <armin.pies_at_[hidden]> wrote:
> Obviously the operator++ of the recursive_directory_iterator throws
> exceptions now, which it did not before 1.56.
> I have changed our code using the increment(system::error_code& ec)
> method to ignore the unexpected exceptions.
> Unsubscribe & other changes:
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk