Hi Peter.
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).
Regards,
Armin
-----Ursprüngliche Nachricht-----
Von: Boost [mailto:boost-bounces@lists.boost.org] Im Auftrag von Peter Bindels
Gesendet: Montag, 8. Dezember 2014 16:49
An: boost@lists.boost.org
Betreff: Re: [boost] boost::filesystem changes since version 1.55.0
Hi Armin,
In which cases does it throw now? To me that sounds like an unexpected regression.
Regards,
Peter
On 8 December 2014 at 16:34, Armin Pies
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.
Regards,
Armin
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost