Skip to content

directory_iterator does not work in some cases #266

@iskiselev

Description

@iskiselev

directory_iterator does not work in Azure App Service environment when created over any folder in C:\home.
That environment is special with home folder mounted there in some way.

It fails with error 87 in:
file_id_extd_dir_info_format
file_full_dir_info_format
file_id_both_dir_info_format

I debuged it, and looks like it works in default case (file_directory_information_format), but it never fallback to file_directory_information_format, so logic in default case is never executed.

In the same environment current code works if iterator created over some other folders.

Problem reproducible on at least boost 1.79 and 1.80. Potentially same issue with #261 and #255.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions