El 03/07/2024 a las 14:55, Lars Sunde via Boost-users escribió:
Hello,

Using boost::filesystem::directory_iterator with an UNC path failed with Boost 1.84 and Windows 10.

Did some research on this topic and found this bug report from 2022;
https://github.com/boostorg/filesystem/issues/245

This issue contain a link to this fix; https://github.com/boostorg/filesystem/commit/9c9d127bddc2b72187c57f4933c49666255d7a4f

When looking at boost 1.84 and 1.85 source code I cannot find the fix shown above. Please excuse my ignorance but what
is the relationship between https://github.com/boostorg/filesystem and the sw released at https://www.boost.org ?


Hi Lars,


I'm not the library author, but I've taken a look at the source code for the
Boost 1.85 redistributable, and the change is there (line 674 of
boost_1_85_0/libs/filesystem/src/directory.cpp).  Also, the change is reflected
in the release notes, see "1.81.0" at

  https://www.boost.org/libs/filesystem/doc/release_history.html


Can you confirm on your side?

Now, looks like there's a documentation issue because the page above
does not seem to be linked anywhere from

  https://www.boost.org/libs/filesystem

I'll open a ticket for that.


Joaquin M Lopez munoz